From: Ansgar Burchardt Date: Fri, 14 Feb 2014 11:15:43 +0000 (+0100) Subject: process-policy: REJECT before ACCEPT X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=77097495634fdd3df4ecf79c73529d15c4acdb06;p=dak.git process-policy: REJECT before ACCEPT If both ACCEPT.* and REJECT.* comments are available, the package should be rejected. So process REJECT.* first. --- diff --git a/dak/process_policy.py b/dak/process_policy.py index 7dd55a83..2890c861 100755 --- a/dak/process_policy.py +++ b/dak/process_policy.py @@ -419,9 +419,9 @@ def main(): # The comments stuff relies on being in the right directory os.chdir(pq.path) + do_comments(commentsdir, pq, "REJECT.", "REJECTED.", "NOTOK", comment_reject, transaction) do_comments(commentsdir, pq, "ACCEPT.", "ACCEPTED.", "OK", comment_accept, transaction) do_comments(commentsdir, pq, "ACCEPTED.", "ACCEPTED.", "OK", comment_accept, transaction) - do_comments(commentsdir, pq, "REJECT.", "REJECTED.", "NOTOK", comment_reject, transaction) remove_unreferenced_binaries(pq, transaction) remove_unreferenced_sources(pq, transaction)