X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fsecurity_install.py;h=96aa604f1024545c9d0ee5106654fe50bf5a9d84;hb=3c2b932e8e034c8f314537231e14f62e7e61537c;hp=3aebedc1c587a8ee5aaad8271dbe7f781c76d5bf;hpb=8e60420c69a993a4041c22008dafc2fcb238d0d5;p=dak.git diff --git a/dak/security_install.py b/dak/security_install.py old mode 100644 new mode 100755 index 3aebedc1..96aa604f --- a/dak/security_install.py +++ b/dak/security_install.py @@ -132,9 +132,11 @@ def do_upload(changes_files): for uri in uploads.keys(): uploads[uri].extend(changesfiles[uri]) (host, path) = uri.split(":") - file_list = " ".join(uploads[uri]) - print "Uploading files to %s..." % (host) - spawn("lftp -c 'open %s; cd %s; put %s'" % (host, path, file_list)) + #file_list = " ".join(uploads[uri]) + print "Moving files to UploadQueue" + for filename in uploads[uri]: + utils.copy(filename, Cnf["Dir::Upload"]) + #spawn("lftp -c 'open %s; cd %s; put %s'" % (host, path, file_list)) if not Options["No-Action"]: filename = "%s/testing-processed" % (Cnf["Dir::Log"])