From 77097495634fdd3df4ecf79c73529d15c4acdb06 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Fri, 14 Feb 2014 12:15:43 +0100 Subject: [PATCH] process-policy: REJECT before ACCEPT If both ACCEPT.* and REJECT.* comments are available, the package should be rejected. So process REJECT.* first. --- dak/process_policy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5