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

[dak/master] Encode using utf-8 and hope for the best



Signed-off-by: Mark Hymers <mhy@debian.org>
---
 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 fdbd3bc..0cb5994 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 dce8098..d19426b 100755
--- a/dak/show_deferred.py
+++ b/dak/show_deferred.py
@@ -98,7 +98,7 @@ def footer():
      height="31" width="88"></a>
     """
     res += "</body></html>"
-    return res
+    return res.encode('utf-8')
 
 def table_header():
     return """<h1>Deferred uploads</h1>
-- 
1.7.2.5


Reply to: