From: Mark Hymers Date: Sat, 29 Nov 2008 18:03:18 +0000 (+0000) Subject: don't try and delete already moved changes files X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=560b71ef36c02d0dbbb73666c49e1ce95e11195a;p=dak don't try and delete already moved changes files Signed-off-by: Mark Hymers --- 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"]: