From 560b71ef36c02d0dbbb73666c49e1ce95e11195a Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Sat, 29 Nov 2008 18:03:18 +0000 Subject: [PATCH] don't try and delete already moved changes files Signed-off-by: Mark Hymers --- dak/new_security_install.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dak/new_security_install.py b/dak/new_security_install.py index ce6543d7..856428e0 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"]: -- 2.39.5