]> err.no Git - dak/commitdiff
variable name fixes
authorMark Hymers <mhy@debian.org>
Sat, 5 Dec 2009 10:03:34 +0000 (10:03 +0000)
committerMark Hymers <mhy@debian.org>
Sat, 5 Dec 2009 10:03:34 +0000 (10:03 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/process_policy.py

index 824df26fbf53319a33754187013c7fe5490cd5da..1dc42af99183d7c9281cc11b994b0732196ce1ba 100755 (executable)
@@ -84,9 +84,9 @@ def comment_accept(changes_file, srcqueue, comments, session):
 
     if not Options["No-Action"]:
         destqueue = get_policy_queue('newstage', session)
-        changes_to_queue(upload, srcqueue, destqueue, session)
+        changes_to_queue(u, srcqueue, destqueue, session)
 
-        Logger.log(["Policy Queue Accept: %s:  %s" % (srcqueue.queue_name, upload.pkg.changes_file)])
+        Logger.log(["Policy Queue Accept: %s:  %s" % (srcqueue.queue_name, u.pkg.changes_file)])
 
 ################################################################################
 
@@ -105,7 +105,7 @@ def comment_reject(changes_file, srcqueue, comments, session):
         u.do_reject(manual=0, reject_message='\n'.join(u.rejects))
         u.pkg.remove_known_changes(session=session)
 
-        Logger.log(["Policy Queue Reject: %s:  %s" % (srcqueue.queue_name, upload.pkg.changes_file)])
+        Logger.log(["Policy Queue Reject: %s:  %s" % (srcqueue.queue_name, u.pkg.changes_file)])
 
 
 ################################################################################