[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] Python behaves differently if you're redirecting to a file or not...



Signed-off-by: Mark Hymers <mhy@debian.org>
---
 dak/show_deferred.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dak/show_deferred.py b/dak/show_deferred.py
index d19426b..4dd603e 100755
--- a/dak/show_deferred.py
+++ b/dak/show_deferred.py
@@ -224,7 +224,7 @@ def list_uploads(filelist, rrd_dir):
     print header()
     if uploads:
         print table_header()
-        print ''.join(map(lambda x: table_row(*x[1:5]), uploads))
+        print ''.join(map(lambda x: table_row(*x[1:5]), uploads)).encode('utf-8')
         print table_footer()
     else:
         print '<h1>Currently no deferred uploads to Debian</h1>'
-- 
1.7.2.5


Reply to: