X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fqueue_report.py;h=9de1f5459dbfa4ac72f63cc1e861026f71609138;hb=7a23455cf4a831e599172f48ce29178e64dc09db;hp=a3b59738df18c7c7d5b9e04d3719463b0582b15a;hpb=9a4fb568340b14698947bfa59b309ae0c67c693a;p=dak.git diff --git a/dak/queue_report.py b/dak/queue_report.py index a3b59738..9de1f545 100755 --- a/dak/queue_report.py +++ b/dak/queue_report.py @@ -370,6 +370,7 @@ RRA:MAX:0.5:288:795 def process_changes_files(changes_files, type, log, rrd_dir): msg = "" cache = {} + unprocessed = [] # Read in all the .changes files for filename in changes_files: try: @@ -383,6 +384,9 @@ def process_changes_files(changes_files, type, log, rrd_dir): # Divide the .changes into per-source groups per_source = {} for filename in cache.keys(): + if not cache[filename].has_key("source"): + unprocessed.append(filename) + continue source = cache[filename]["source"] if not per_source.has_key(source): per_source[source] = {} @@ -601,6 +605,12 @@ def process_changes_files(changes_files, type, log, rrd_dir): print "%s %s source package%s / %s %s package%s in total." % (source_count, type, plural(source_count), total_count, type, plural(total_count)) print + if len(unprocessed): + print "UNPROCESSED" + print "-----------" + for u in unprocessed: + print u + print ################################################################################