From 3080993e26a0ac2c374d9a043415fd22847a98ec Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Fri, 1 Apr 2011 11:27:19 +0000 Subject: [PATCH] Encode using utf-8 and hope for the best Signed-off-by: Mark Hymers --- config/debian/cron.hourly | 2 +- dak/show_deferred.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/debian/cron.hourly b/config/debian/cron.hourly index fdbd3bce..0cb59943 100755 --- a/config/debian/cron.hourly +++ b/config/debian/cron.hourly @@ -11,7 +11,7 @@ export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars dak import-users-from-passwd dak queue-report -n > $webdir/new.html dak queue-report -8 -d new,byhand,proposedupdates,oldproposedupdates -r $webdir/stat -#dak show-deferred -r $webdir/stat > ${webdir}/deferred.html +dak show-deferred -r $webdir/stat > ${webdir}/deferred.html dak graph -n new,byhand,proposedupdates,oldproposedupdates,deferred -r $webdir/stat -i $webdir/stat -x $scriptsdir/rrd-release-freeze-dates # do not run show-new and other stuff in parallel diff --git a/dak/show_deferred.py b/dak/show_deferred.py index dce80987..d19426b1 100755 --- a/dak/show_deferred.py +++ b/dak/show_deferred.py @@ -98,7 +98,7 @@ def footer(): height="31" width="88"> """ res += "" - return res + return res.encode('utf-8') def table_header(): return """

Deferred uploads

-- 2.39.2