From: Mark Hymers Date: Fri, 1 Apr 2011 11:31:51 +0000 (+0000) Subject: Python behaves differently if you're redirecting to a file or not... X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=8efa43bc85867c15531c4a757c0929bddcdace26;hp=3080993e26a0ac2c374d9a043415fd22847a98ec;p=dak.git Python behaves differently if you're redirecting to a file or not... Signed-off-by: Mark Hymers --- diff --git a/dak/show_deferred.py b/dak/show_deferred.py index d19426b1..4dd603e4 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 '

Currently no deferred uploads to Debian

'