]> err.no Git - dak/commitdiff
[AJ, r=JT] fix process-new's handling of check_dsc_against_db() warnings
authorJames Troup <james@nocrew.org>
Mon, 31 Dec 2007 16:57:09 +0000 (16:57 +0000)
committerJames Troup <james@nocrew.org>
Mon, 31 Dec 2007 16:57:09 +0000 (16:57 +0000)
ChangeLog
dak/process_new.py

index 614f4037baa8f64dd54d0a2812e72ba50f9c4ce6..b3fef2c5e2fcc817983a0f333b13523c3b592cac 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-31  Anthony Towns  <ajt@debian.org>
+
+       * 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  <joerg@debian.org>
 
        * dak/dak.py (init): add show-new. This is based on a patch
index 535121f5434281333df5af3d7ecba53a0acae35a..e3786cb950fd54c21299a48f046af90565ab8be0 100755 (executable)
@@ -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"