[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] show-new: remove False statement to reduce processing time



Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
---
 dak/show_new.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dak/show_new.py b/dak/show_new.py
index b342019..efc4ee8 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:
-- 
1.7.2.5


Reply to: