X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dak%2Fshow_deferred.py;h=4ffa5e6ec021ca2cd591a5c6ac9b83e51a21f432;hb=a88b969c8b1d9d82cd05de52fea947e1ac1c2531;hp=aa33b2e5de99414eecc57fede9844e8d8425b7e6;hpb=276e9002288432328879ada4ddc2dcefbb55158c;p=dak.git diff --git a/dak/show_deferred.py b/dak/show_deferred.py index aa33b2e5..4ffa5e6e 100755 --- a/dak/show_deferred.py +++ b/dak/show_deferred.py @@ -22,6 +22,7 @@ import sys, os, re, time import apt_pkg +import tempfile from debian_bundle import deb822 from daklib import database from daklib import queue @@ -145,19 +146,40 @@ def get_upload_data(changesfn): if os.path.exists(qfn): os.symlink(qfn,lfn) os.chmod(qfn, 0644) - return (delaydays*24*60*60+remainingtime, changesname, delay, uploader, achanges.get('closes').split()) + return (delaydays*24*60*60+remainingtime, changesname, delay, uploader, achanges.get('closes').split(),achanges) def list_uploads(filelist): uploads = map(get_upload_data, filelist) uploads.sort() + # print the summary page print header() if uploads: print table_header() - print ''.join(map(lambda x: table_row(*x[1:]), uploads)) + print ''.join(map(lambda x: table_row(*x[1:5]), uploads)) print table_footer() else: print '