X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_unchecked.py;h=886fb68948ab6d365b64976dd3ff6588cb82291e;hb=89304ce4ded069d3e818dcf427e8fc867cb8ab13;hp=f7caf303192ec07993888dd5b6aff94fe609fa4e;hpb=be05b200c98704512a6ba907725f6517933a99c5;p=dak.git diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index f7caf303..886fb689 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -191,10 +191,12 @@ def action(u): os.chdir(u.pkg.directory) u.do_reject(0, pi) elif answer == 'A': + u.pkg.add_known_changes( "Accepted" ) u.accept(summary, short_summary) u.check_override() u.remove() elif answer == queuekey: + u.pkg.add_known_changes( qu ) queue_info[qu]["process"](u, summary, short_summary) u.remove() elif answer == 'Q': @@ -455,7 +457,7 @@ def process_it(changes_file): u.pkg.changes["changedby2047"] = cnf["Dinstall::MyEmailAddress"] # debian-{devel-,}-changes@lists.debian.org toggles writes access based on this header - bcc = "X-DAK: dak process-unchecked\nX-Katie: $Revision: 1.65 $" + bcc = "X-DAK: dak process-unchecked" if cnf.has_key("Dinstall::Bcc"): u.Subst["__BCC__"] = bcc + "\nBcc: %s" % (cnf["Dinstall::Bcc"]) else: @@ -507,7 +509,7 @@ def process_it(changes_file): action(u) - except SystemExit: + except (SystemExit, KeyboardInterrupt): raise except: