[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] keep .buildinfo files from rejected uploads



---
 dak/process_policy.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dak/process_policy.py b/dak/process_policy.py
index 3efab0d..a0303c1 100755
--- a/dak/process_policy.py
+++ b/dak/process_policy.py
@@ -305,6 +305,11 @@ def real_comment_reject(upload, srcqueue, comments, transaction, notify=True, ma
         path = os.path.join(queuedir, byhand.filename)
         if os.path.exists(path):
             files.append(path)
+    chg = daklib.upload.Changes(queuedir, changesname, keyrings=[], require_signature=False)
+    for f in chg.buildinfo_files:
+        path = os.path.join(queuedir, f.filename)
+        if os.path.exists(path):
+            files.append(path)
     files.append(os.path.join(queuedir, changesname))
 
     for fn in files:
-- 
2.1.4


Reply to: