X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fshow_new.py;h=eff1116afe1dec1e14a60109aee8e35e6bba781d;hb=c8182c171aa569945e899566fdf6492cfb166d71;hp=ae87b001b9aaf9fa8d8bed17c2fafa7bd8d48586;hpb=e5e7a9bb052751283ee72afa5492eeeb2160cc50;p=dak.git diff --git a/dak/show_new.py b/dak/show_new.py index ae87b001..eff1116a 100755 --- a/dak/show_new.py +++ b/dak/show_new.py @@ -30,13 +30,12 @@ import os, sys, time import apt_pkg import examine_package +from daklib import policy from daklib.dbconn import * -from daklib.queue import determine_new, check_valid, Upload, get_policy_queue from daklib import utils from daklib.regexes import re_source_ext from daklib.config import Config from daklib import daklog -from daklib.changesutils import * from daklib.dakmultiprocessing import DakProcessPool, PROC_STATUS_SUCCESS, PROC_STATUS_SIGNALRAISED from multiprocessing import Manager, TimeoutError @@ -46,13 +45,14 @@ Options = None manager = Manager() sources = manager.list() htmlfiles_to_process = manager.list() +timeout_str = "Timed out while processing" ################################################################################ ################################################################################ ################################################################################ -def html_header(name, filestoexamine): +def html_header(name, missing): if name.endswith('.changes'): name = ' '.join(name.split('_')[:2]) result = """ @@ -62,7 +62,7 @@ def html_header(name, filestoexamine): /> %(name)s - Debian NEW package overview - +