X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fqueue_report.py;h=862a6d20ebb8a431ebc4bfc8288c721f852cde65;hb=fb6b2db21c6a2e8d73e4c538e012f139b63f3f2a;hp=a929a4b6b8e5eb87ede949284cd368b2dd3005e3;hpb=7b3c2a52a559c459ddf5da96cfeceba8b19cba9d;p=dak.git diff --git a/dak/queue_report.py b/dak/queue_report.py index a929a4b6..862a6d20 100755 --- a/dak/queue_report.py +++ b/dak/queue_report.py @@ -44,7 +44,8 @@ except ImportError: from daklib import utils from daklib.queue import Upload -from daklib.dbconn import DBConn, has_new_comment, DBChange, DBSource, get_uid_from_fingerprint +from daklib.dbconn import DBConn, has_new_comment, DBChange, DBSource, \ + get_uid_from_fingerprint, get_policy_queue from daklib.textutils import fix_maintainer from daklib.dak_exceptions import * @@ -56,7 +57,7 @@ row_number = 0 def usage(exit_code=0): print """Usage: dak queue-report -Prints a report of packages in queue directories (usually new and byhand). +Prints a report of packages in queues (usually new and byhand). -h, --help show this help and exit. -8, --822 writes 822 formated output to the location set in dak.conf @@ -178,6 +179,7 @@ def header(): Debian NEW and BYHAND Packages @@ -222,6 +225,7 @@ def header(): def footer(): print "

Timestamp: %s (UTC)

" % (time.strftime("%d.%m.%Y / %H:%M:%S", time.gmtime())) + print "

There are graphs about the queues available.

" print """