]> git.decadent.org.uk Git - dak.git/commitdiff
Merge remote-tracking branch 'drkranz/fixes' into merge
authorJoerg Jaspert <joerg@debian.org>
Fri, 21 Sep 2012 08:05:33 +0000 (10:05 +0200)
committerJoerg Jaspert <joerg@debian.org>
Fri, 21 Sep 2012 08:05:33 +0000 (10:05 +0200)
* drkranz/fixes:
  show-new: remove False statement to reduce processing time

Signed-off-by: Joerg Jaspert <joerg@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: