aboutsummaryrefslogtreecommitdiff
path: root/pipeline/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'pipeline/util.py')
-rwxr-xr-xpipeline/util.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/pipeline/util.py b/pipeline/util.py
new file mode 100755
index 0000000..c517483
--- /dev/null
+++ b/pipeline/util.py
@@ -0,0 +1,9 @@
+"""Common functions."""
+
+import sys
+
+
+def log(msg, *args):
+ if args:
+ msg = msg % args
+ print >>sys.stderr, msg