]> git.decadent.org.uk Git - dak.git/commitdiff
Fix handling of list of .changes files to upload.
authorJames Troup <james@nocrew.org>
Fri, 16 Jun 2006 03:57:23 +0000 (04:57 +0100)
committerJames Troup <james@nocrew.org>
Fri, 16 Jun 2006 03:57:23 +0000 (04:57 +0100)
dak/security_install.py

index 2cea73082c553f9f9740953aa55b41bf1ff7d30d..46c861b5b37499180f16ba5f75f6c11c6e89741a 100755 (executable)
@@ -114,7 +114,7 @@ def do_upload(changes_files):
             uploads[upload_uri] = []
         uploads[upload_uri].extend(file_list)
         # Update the changes list for the upload uri
-        if not changes.has_key(upload_uri):
+        if not changesfiles.has_key(upload_uri):
             changesfiles[upload_uri] = []
         changesfiles[upload_uri].append(changes_file)
         # Remember the suites and source name/version