X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fqueue_report.py;h=a3b59738df18c7c7d5b9e04d3719463b0582b15a;hb=3c8e55d92e46bb1cdd803bfe70ea63d7e8587d79;hp=cb2b93904a974d5800be5b2a0e6689cecd27b198;hpb=3262ca150aab7bd3f0616432f7e187a2d11b7a0c;p=dak.git diff --git a/dak/queue_report.py b/dak/queue_report.py index cb2b9390..a3b59738 100755 --- a/dak/queue_report.py +++ b/dak/queue_report.py @@ -179,6 +179,7 @@ def header(): Debian NEW and BYHAND Packages @@ -246,8 +248,8 @@ def table_header(type, source_count, total_count): print "

Summary for: %s

" % (type) print "

Summary for: binary-%s only

" % (type) print """ +

Click to toggle all/binary-NEW packages

-

Click to toggle all/binary-NEW packages

""" print "Package count in %s: %s |  Total Package count: %s" % (type, source_count, total_count) @@ -314,7 +316,7 @@ def table_row(source, version, arch, last_mod, maint, distribution, closes, fing if sponsor: try: (login, domain) = sponsor.split("@", 1) - print "Sponsor: %s@debian.org
" % (utils.html_escape(login), utils.html_escape(login)) + print "Sponsor: %s@debian.org
" % (utils.html_escape(login), utils.html_escape(login)) except Exception as e: pass @@ -617,9 +619,9 @@ def main(): if not Cnf.has_key("Queue-Report::Options::%s" % (i)): Cnf["Queue-Report::Options::%s" % (i)] = "" - apt_pkg.ParseCommandLine(Cnf, Arguments, sys.argv) + apt_pkg.parse_commandline(Cnf, Arguments, sys.argv) - Options = Cnf.SubTree("Queue-Report::Options") + Options = Cnf.subtree("Queue-Report::Options") if Options["Help"]: usage() @@ -635,7 +637,7 @@ def main(): for i in Cnf["Queue-Report::Options::Directories"].split(","): queue_names.append(i) elif Cnf.has_key("Queue-Report::Directories"): - queue_names = Cnf.ValueList("Queue-Report::Directories") + queue_names = Cnf.value_list("Queue-Report::Directories") else: queue_names = [ "byhand", "new" ]