X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fqueue_report.py;h=a4cee3591fc57abc1e1de905563fa860d2ba6471;hb=3f4d9093048af1545f78aef3b5236a1e8094fa89;hp=18fa867a0f4e5885d62016b5d4eaa179dbc8247d;hpb=90abdae94d533312f37173a0192f47cbfe42872f;p=dak.git diff --git a/dak/queue_report.py b/dak/queue_report.py index 18fa867a..a4cee359 100755 --- a/dak/queue_report.py +++ b/dak/queue_report.py @@ -157,7 +157,7 @@ def sortfunc(a,b): def header(): print """ - + Debian NEW and BYHAND Packages @@ -222,11 +222,6 @@ def table_footer(type, source_count, total_count): print "

Package count in %s: %s\n" % (type, source_count) print "
Total Package count: %s

\n" % (total_count) -def force_to_latin(s): - """Forces a string to Latin-1.""" - latin1_s = unicode(s,'utf-8') - return latin1_s.encode('iso8859-1', 'replace') - def table_row(source, version, arch, last_mod, maint, distribution, closes): @@ -250,7 +245,6 @@ def table_row(source, version, arch, last_mod, maint, distribution, closes): print "%s
" % (dist) print "%s" % (tdclass, last_mod) (name, mail) = maint.split(":") - name = force_to_latin(name) print "%s" % (tdclass, mail, name) print "" % (tdclass)