X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_upload.py;h=2f904c3596a283355cd4c8d527771c20ac21d523;hb=f0c875ddc69f384bf2600fa342fbac30dc82fda7;hp=97117b8ad59e86aac54eaec7f29e327bb075df3c;hpb=12ce63e57c3e6a352da9616c44642fcd8c66fb69;p=dak.git diff --git a/dak/process_upload.py b/dak/process_upload.py index 97117b8a..2f904c35 100755 --- a/dak/process_upload.py +++ b/dak/process_upload.py @@ -196,7 +196,7 @@ def usage (exit_code=0): ############################################################################### -def action(u, dbc): +def action(u): cnf = Config() holding = Holding() session = DBConn().session() @@ -257,12 +257,12 @@ def action(u, dbc): # so, we skip the policy queue, otherwise we go there. divert = package_to_suite(u, suite.suite_name, session=session) if divert: - print "%s for %s\n%s%s" % ( su.policy_queue.queue_name.upper(), + print "%s for %s\n%s%s" % ( suite.policy_queue.queue_name.upper(), ", ".join(u.pkg.changes["distribution"].keys()), pi, summary) queuekey = "P" prompt = "[P]olicy, Skip, Quit ?" - policyqueue = su.policy_queue + policyqueue = suite.policy_queue if Options["Automatic"]: answer = 'P' break