summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Riemer <bjoern.riemer@tu-berlin.de>2016-01-13 12:23:13 +0100
committerBjoern Riemer <bjoern.riemer@tu-berlin.de>2016-01-13 12:23:13 +0100
commit1bd4041d098b779721d2990f97b48d79e710de22 (patch)
treeddfa70e73d2560e832d60933ebc176d32ff78d61
parent10099632b09e62487a6951bae46264f31684528f (diff)
add --timestamp arg to voctocore
-rw-r--r--0004-add-timestamp-arg-to-voctocore.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/0004-add-timestamp-arg-to-voctocore.patch b/0004-add-timestamp-arg-to-voctocore.patch
new file mode 100644
index 0000000..88136f0
--- /dev/null
+++ b/0004-add-timestamp-arg-to-voctocore.patch
@@ -0,0 +1,27 @@
+From 58d94e7e887d7c3b3945222d877dcfd0930e9ee8 Mon Sep 17 00:00:00 2001
+From: Bjoern <bjoern.riemer@web.de>
+Date: Wed, 13 Jan 2016 11:00:29 +0000
+Subject: [PATCH 4/4] add --timestamp arg to voctocore
+
+---
+ voctocore/voctocore.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/voctocore/voctocore.py b/voctocore/voctocore.py
+index 3a4125a..bf9b973 100755
+--- a/voctocore/voctocore.py
++++ b/voctocore/voctocore.py
+@@ -56,8 +56,9 @@ class Voctocore(object):
+ def main():
+ # configure logging
+ docolor = (Args.color == 'always') or (Args.color == 'auto' and sys.stderr.isatty())
++ timestamp = Args.timestamp > 0
+
+- handler = LogHandler(docolor)
++ handler = LogHandler(docolor,timestamp)
+ logging.root.addHandler(handler)
+
+ if Args.verbose >= 2:
+--
+2.5.0
+