From 1bd2bb874e25a236215fd4367fafb8eecdc79490 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Sat, 5 Dec 2009 10:03:34 +0000 Subject: [PATCH] variable name fixes Signed-off-by: Mark Hymers --- dak/process_policy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)]) ################################################################################ -- 2.39.5