]> err.no Git - dak/commitdiff
dak/process_new.py: auto-accept uploads if we have all overrides
authorAnsgar Burchardt <ansgar@debian.org>
Sun, 12 Aug 2012 10:16:14 +0000 (12:16 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Sun, 12 Aug 2012 10:16:14 +0000 (12:16 +0200)
dak/process_new.py

index 0d1307693ab9915dc17b372e56877d82b97717de..afeb06437ac0998cdc1e2e7bb1fd9ca404818856 100755 (executable)
@@ -485,6 +485,7 @@ def do_new(upload, upload_copy, handler, session):
         if not has_unprocessed_byhand and not broken and not note:
             if len(missing) == 0:
                 prompt = "Accept, "
+                answer = 'A'
             else:
                 prompt = "Add overrides, "
         if broken: