From: James Troup Date: Mon, 31 Dec 2007 16:57:09 +0000 (+0000) Subject: [AJ, r=JT] fix process-new's handling of check_dsc_against_db() warnings X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=7c0d299579cf1a4ed71f1bf116d231e0ae3a71fd;p=dak.git [AJ, r=JT] fix process-new's handling of check_dsc_against_db() warnings --- diff --git a/ChangeLog b/ChangeLog index 614f4037..b3fef2c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-12-31 Anthony Towns + + * dak/process_new.py (recheck): pass "" for prefix_str to reject() + when processing result of check_dsc_against_db so we don't promote + warnings to rejections. + 2007-12-30 Joerg Jaspert * dak/dak.py (init): add show-new. This is based on a patch diff --git a/dak/process_new.py b/dak/process_new.py index 535121f5..e3786cb9 100755 --- a/dak/process_new.py +++ b/dak/process_new.py @@ -92,7 +92,7 @@ def recheck(): elif files[file]["type"] == "dsc": reject(Upload.check_source_against_db(file)) (reject_msg, is_in_incoming) = Upload.check_dsc_against_db(file) - reject(reject_msg) + reject(reject_msg, "") if reject_message.find("Rejected") != -1: answer = "XXX"