X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fqueue_report.py;h=8152bfa63e7e9c4cabe85754dc8a7aa1059bc334;hb=b79fdbd11acc8e8f4bd1d7a1a001524c645f0714;hp=2f92bcf676eb42b2bf79085467a5ed0880d8da1e;hpb=7d1cafada3e00596f44f5d2ab1e8f2cf71d2bd8b;p=dak.git diff --git a/dak/queue_report.py b/dak/queue_report.py index 2f92bcf6..8152bfa6 100755 --- a/dak/queue_report.py +++ b/dak/queue_report.py @@ -43,8 +43,8 @@ except ImportError: pass 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, DBSource, has_new_comment, PolicyQueue, \ + get_uid_from_fingerprint from daklib.textutils import fix_maintainer from daklib.dak_exceptions import * @@ -56,7 +56,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 +178,7 @@ def header(): Debian NEW and BYHAND Packages @@ -222,6 +224,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 """