X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_upload.py;h=4d1cbc2f6677da8d5ae58fe4c05ea2beef6b97f6;hb=4c7eee9642e82b6286f807ad92a93e7ef30288e6;hp=f408e177e7a15caf69a0a02db625818a503712c9;hpb=2eab0bd6bdd98ef816f78b74f85ca9fe5792804c;p=dak.git diff --git a/dak/process_upload.py b/dak/process_upload.py index f408e177..4d1cbc2f 100755 --- a/dak/process_upload.py +++ b/dak/process_upload.py @@ -258,7 +258,7 @@ def action(u, session): for s in u.pkg.changes["distribution"].keys(): suite = get_suite(s, session) if suite.policy_queue: - if not chg or chg.approved_for_id != su.policy_queue.policy_queue_id: + if not chg or chg.approved_for_id != suite.policy_queue.policy_queue_id: # This routine will check whether the upload is a binary # upload when the source is already in the target suite. If # so, we skip the policy queue, otherwise we go there.