X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dak%2Fqueue_report.py;h=ff3e082bbf73bb0eef76017b55697d410b8bbc97;hb=da6c203995ae67bf86d4424d94127798fe9e0b8b;hp=18fa867a0f4e5885d62016b5d4eaa179dbc8247d;hpb=e2ae71066cbb134753d7bfceb16e87d0b76dfd6e;p=dak.git
diff --git a/dak/queue_report.py b/dak/queue_report.py
index 18fa867a..ff3e082b 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):
@@ -244,13 +239,12 @@ def table_row(source, version, arch, last_mod, maint, distribution, closes):
print "%s | " % (tdclass, source)
print "" % (tdclass)
for vers in version.split():
- print "%s " % (vers)
+ print "%s " % (source, vers, vers)
print " | %s | " % (tdclass, arch, tdclass)
for dist in distribution:
print "%s " % (dist)
print " | %s | " % (tdclass, last_mod)
(name, mail) = maint.split(":")
- name = force_to_latin(name)
print "%s | " % (tdclass, mail, name)
print "" % (tdclass)
|