]> git.decadent.org.uk Git - dak.git/commitdiff
dak/process_upload.py: show if we accept/reject packages also on stdout
authorAnsgar Burchardt <ansgar@debian.org>
Wed, 19 Sep 2012 08:53:41 +0000 (10:53 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Wed, 19 Sep 2012 09:46:04 +0000 (11:46 +0200)
dak/process_upload.py

index ca210c30a0c25f030cb485d3b2e678d26ad13d35..64c8c58b239529a3386bcfd6b12b4789c5f74b17 100755 (executable)
@@ -260,6 +260,7 @@ def accept(directory, upload):
     cnf = Config()
 
     Logger.log(['ACCEPT', upload.changes.filename])
+    print "ACCEPT"
 
     upload.install()
 
@@ -299,6 +300,7 @@ def accept_to_new(directory, upload):
     cnf = Config()
 
     Logger.log(['ACCEPT-TO-NEW', upload.changes.filename])
+    print "ACCEPT-TO-NEW"
 
     upload.install_to_new()
     # TODO: tag bugs pending
@@ -318,6 +320,7 @@ def real_reject(directory, upload, reason=None, notify=True):
     cnf = Config()
 
     Logger.log(['REJECT', upload.changes.filename])
+    print "REJECT"
 
     fs = upload.transaction.fs
     rejectdir = cnf['Dir::Reject']