]> git.decadent.org.uk Git - dak.git/commitdiff
show-new: remove False statement to reduce processing time
authorLuca Falavigna <dktrkranz@debian.org>
Sun, 16 Sep 2012 12:19:21 +0000 (12:19 +0000)
committerLuca Falavigna <dktrkranz@debian.org>
Fri, 21 Sep 2012 07:58:09 +0000 (07:58 +0000)
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
dak/show_new.py

index b3420194de9c073002f06d836f4392461e97ee96..efc4ee8c40ff43247968618abcbca3bff4bf0569 100755 (executable)
@@ -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: