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

[dak/master] don't try and delete already moved changes files



Signed-off-by: Mark Hymers <mhy@debian.org>
---
 dak/new_security_install.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dak/new_security_install.py b/dak/new_security_install.py
index ce6543d..856428e 100755
--- a/dak/new_security_install.py
+++ b/dak/new_security_install.py
@@ -282,7 +282,9 @@ def actually_upload(changes_files):
         print "Moving files to UploadQueue"
         for filename in uploads[uri]:
             utils.copy(filename, Cnf["Dir::Upload"])
-            remove_from_buildd(suites, filename)
+            # .changes files have already been moved to queue/done by p-a
+            if not filename.endswith('.changes'):
+                remove_from_buildd(suites, filename)
         #spawn("lftp -c 'open %s; cd %s; put %s'" % (host, path, file_list))
 
     if not Options["No-Action"]:
-- 
1.5.6.5



Reply to: