From: Luca Falavigna Date: Sun, 16 Sep 2012 12:19:21 +0000 (+0000) Subject: show-new: remove False statement to reduce processing time X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=73e23995d806657f985ab44272905512a2368b55;p=dak.git show-new: remove False statement to reduce processing time Signed-off-by: Luca Falavigna --- diff --git a/dak/show_new.py b/dak/show_new.py index b3420194..efc4ee8c 100755 --- a/dak/show_new.py +++ b/dak/show_new.py @@ -166,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: