aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDafydd Harries <daf@rhydd.org>2013-03-19 09:27:36 -0400
committerDafydd Harries <daf@rhydd.org>2013-03-19 09:27:36 -0400
commita280d5c69f047f66b88727341c72bcb86463962b (patch)
tree789f9ec51ce222b1427873ae9a4459a7724b9ea1
parent300f632be6bfcbd732b1ea18c86ac14edad39e30 (diff)
fix warning formatting
-rw-r--r--export.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/export.py b/export.py
index 9601d97..0e69803 100644
--- a/export.py
+++ b/export.py
@@ -33,7 +33,8 @@ def today():
return datetime.datetime.now().strftime('%Y-%m-%d')
def warn(*x):
- print >>sys.stderr, ('warning:',) + x
+ for s in ('warning:',) + x + ('\n',):
+ print >>sys.stderr, s,
class PkgData(object):
def __init__(self):