]> err.no Git - dak/commitdiff
[AJ] don't auto-reject on warnings
authorJames Troup <james@nocrew.org>
Fri, 28 Dec 2007 21:50:09 +0000 (21:50 +0000)
committerJames Troup <james@nocrew.org>
Fri, 28 Dec 2007 21:50:09 +0000 (21:50 +0000)
dak/process_new.py

index 8518398d37fc46f77fbc48fcdffd3ef89b22d694..b7010532e5c358141049efb22085936526f7e4d9 100755 (executable)
@@ -94,7 +94,7 @@ def recheck():
             (reject_msg, is_in_incoming) = Upload.check_dsc_against_db(file)
             reject(reject_msg)
 
-    if reject_message:
+    if reject_message.find("Rejected") != -1:
         answer = "XXX"
         if Options["No-Action"] or Options["Automatic"]:
             answer = 'S'