]> err.no Git - dak/commitdiff
don't try and delete already moved changes files
authorMark Hymers <mhy@debian.org>
Sat, 29 Nov 2008 18:03:18 +0000 (18:03 +0000)
committerMark Hymers <mhy@debian.org>
Sat, 29 Nov 2008 18:03:18 +0000 (18:03 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/new_security_install.py

index ce6543d78590e57f927bd74e81eaffa04fadef1d..856428e013cc5ea0f219f4cc9fcf6dcaa9288782 100755 (executable)
@@ -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"]: