From 73e23995d806657f985ab44272905512a2368b55 Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Sun, 16 Sep 2012 12:19:21 +0000 Subject: [PATCH] show-new: remove False statement to reduce processing time Signed-off-by: Luca Falavigna --- dak/show_new.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.5