From: Joerg Jaspert Date: Tue, 14 Apr 2009 22:57:38 +0000 (+0200) Subject: Fixes X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f91ee7ebe5f7a975117a59a8d83b52d0af21b8c;p=dak Fixes Signed-off-by: Joerg Jaspert --- diff --git a/dak/process_new.py b/dak/process_new.py index a4cb0171..7a7b6fdb 100755 --- a/dak/process_new.py +++ b/dak/process_new.py @@ -220,7 +220,7 @@ def sort_changes(changes_files): mtime = os.stat(d["filename"])[stat.ST_MTIME] if mtime < oldest: oldest = mtime - have_note += (database.has_new_comment(d["source"], d["version"]) + have_note += (database.has_new_comment(d["source"], d["version"])) per_source[source]["oldest"] = oldest if not have_note: per_source[source]["note_state"] = 0; # none diff --git a/dak/queue_report.py b/dak/queue_report.py index 341e0ff3..a4bcea0f 100755 --- a/dak/queue_report.py +++ b/dak/queue_report.py @@ -329,7 +329,7 @@ def process_changes_files(changes_files, type, log): else: if mtime < oldest: oldest = mtime - have_note += (database.has_new_comment(d["source"], d["version"]) + have_note += (database.has_new_comment(d["source"], d["version"])) per_source[source]["oldest"] = oldest if not have_note: per_source[source]["note_state"] = 0; # none