]> git.decadent.org.uk Git - dak.git/blobdiff - dak/show_new.py
show-new: remove False statement to reduce processing time
[dak.git] / dak / show_new.py
index 8f72199e913892af473439e92ac9c7b29938b8ea..efc4ee8c40ff43247968618abcbca3bff4bf0569 100755 (executable)
@@ -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: