aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDafydd Harries <daf@rhydd.org>2013-03-19 10:07:11 -0400
committerDafydd Harries <daf@rhydd.org>2013-03-19 10:07:11 -0400
commit37180934a54f0e1225f74b98e55d2e699dc2b1fb (patch)
treeed753caefdd2d7a2cf8be38572062f786fd22767
parentea8483ea5d846fb61947a1d09833214741e7f552 (diff)
only encode upstream name for printing
Coverting it to a string breaks comparisons used later.
-rw-r--r--export.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/export.py b/export.py
index c3d9625..fbf8a75 100644
--- a/export.py
+++ b/export.py
@@ -279,8 +279,7 @@ def export_all(data):
if not uname:
continue
- uname = uname.encode('utf8')
- print uname
+ print uname.encode('utf8')
fname = os.path.join(outputdir, filename(uname))
output(fname, export(data, uname))