]> err.no Git - dak/commitdiff
Python behaves differently if you're redirecting to a file or not...
authorMark Hymers <mhy@debian.org>
Fri, 1 Apr 2011 11:31:51 +0000 (11:31 +0000)
committerMark Hymers <mhy@debian.org>
Fri, 1 Apr 2011 11:31:51 +0000 (11:31 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/show_deferred.py

index d19426b14ad7afbd49e06cbc8c6a386fab6bb2ae..4dd603e4bc53f7c8ccfaf750ed0c13f843d84912 100755 (executable)
@@ -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>'