X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dak%2Fshow_new.py;h=efc4ee8c40ff43247968618abcbca3bff4bf0569;hb=4f7172d2ad7dae2aeffec7488501a4bb3c985d3b;hp=8f72199e913892af473439e92ac9c7b29938b8ea;hpb=72ac5fced43c252bc980a9c5ae0f74b591ab0dfa;p=dak.git diff --git a/dak/show_new.py b/dak/show_new.py index 8f72199e..efc4ee8c 100755 --- a/dak/show_new.py +++ b/dak/show_new.py @@ -36,7 +36,6 @@ 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 @@ -167,7 +166,7 @@ def do_pkg(upload_id): htmlfile = os.path.join(cnf['Show-New::HTMLPath'], htmlname) # Have we already processed this? - if False and os.path.exists(htmlfile) and \ + if os.path.exists(htmlfile) and \ os.stat(htmlfile).st_mtime > time.mktime(changes.created.timetuple()): with open(htmlfile, "r") as fd: if fd.read() != timeout_str: