X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fqueue_report.py;h=a61f99de768ebe37bc43d9f94ea6a76319c80250;hb=d0bd22e69b1997f46805e338e97e89259d7e43ae;hp=8152bfa63e7e9c4cabe85754dc8a7aa1059bc334;hpb=b79fdbd11acc8e8f4bd1d7a1a001524c645f0714;p=dak.git diff --git a/dak/queue_report.py b/dak/queue_report.py index 8152bfa6..a61f99de 100755 --- a/dak/queue_report.py +++ b/dak/queue_report.py @@ -186,7 +186,7 @@ def header(): continue; c = children[i].getAttribute("class").split(" "); for(var j = 0; j < c.length; j++) { - if(c[j] == "binNEW") { + if(c[j] == "sourceNEW") { if (children[i].style.display == '') children[i].style.display = 'none'; else children[i].style.display = ''; @@ -244,12 +244,12 @@ def footer(): """ def table_header(type, source_count, total_count): - print "
Click to toggle all/binary-NEW packages
%s | " % (source) else: print "%(source)s | " % {'source': source} @@ -552,9 +556,10 @@ def process_queue(queue, log, rrd_dir): log.write("Changes-File: " + os.path.basename(changes_file) + "\n") log.write("\n") + total_count = len(queue.uploads) + source_count = len(per_source_items) + if Cnf.has_key("Queue-Report::Options::New"): - total_count = len(queue.uploads) - source_count = len(per_source_items) direction.append([5,1,"ao"]) entries.sort(lambda x, y: sortfunc(x, y)) # Output for a html file. First table header. then table_footer.