From: Mark Hymers Date: Sat, 5 Dec 2009 10:03:34 +0000 (+0000) Subject: variable name fixes X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bd2bb874e25a236215fd4367fafb8eecdc79490;p=dak variable name fixes Signed-off-by: Mark Hymers --- diff --git a/dak/process_policy.py b/dak/process_policy.py index 824df26f..1dc42af9 100755 --- a/dak/process_policy.py +++ b/dak/process_policy.py @@ -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)]) ################################################################################