X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=blobdiff_plain;f=dak%2Fprocess_policy.py;h=ab37aa2216b3282fcfeb4657d36944b89b32b3fc;hp=7b6b9645ece4521cacd2373356ff750d81b271d0;hb=026bdb9580e6d18bf504d2f44d46890df5d89f1a;hpb=38d8ab043fa9d5bc062be20e6656f751a5025362 diff --git a/dak/process_policy.py b/dak/process_policy.py index 7b6b9645..ab37aa22 100755 --- a/dak/process_policy.py +++ b/dak/process_policy.py @@ -195,9 +195,9 @@ def comment_accept(upload, srcqueue, comments, transaction): if debug_suite is not None and is_debug_binary(db_binary): copy_to_suite = debug_suite - # build queues may miss the source package if this is a - # binary-only upload. - if suite != upload.target_suite: + # build queues and debug suites may miss the source package + # if this is a binary-only upload. + if copy_to_suite != upload.target_suite: transaction.copy_source( db_binary.source, copy_to_suite, @@ -213,6 +213,8 @@ def comment_accept(upload, srcqueue, comments, transaction): extra_archives=[upload.target_suite.archive], ) + suite.update_last_changed() + # Copy .changes if needed if upload.target_suite.copychanges: src = os.path.join(upload.policy_queue.path, upload.changes.changesname)