]> git.decadent.org.uk Git - dak.git/commitdiff
make-suite-file-list
authorJoerg Jaspert <joerg@debian.org>
Sun, 25 Jan 2009 00:47:27 +0000 (01:47 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sun, 25 Jan 2009 00:47:27 +0000 (01:47 +0100)
forgot to rename one usage of the two variable names

Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/make_suite_file_list.py

index d6dbf9d0c9a5da876a2058aa3d6b266213290e40..87dfbdf9cb7a66e36aa1424fc40958a2cc1c9bc0 100755 (executable)
@@ -82,7 +82,7 @@ def delete_packages(delete_versions, pkg, dominant_arch, suite,
         if not packages.has_key(delete_unique_id):
             continue
         delete_version = version[0]
-        delete_id = packages[delete_unique_id]["id"]
+        delete_id = packages[delete_unique_id]["sourceid"]
         delete_arch = packages[delete_unique_id]["arch"]
         if not Cnf.Find("Suite::%s::Untouchable" % (suite)) or Options["Force"]:
             if Options["No-Delete"]:
@@ -264,7 +264,7 @@ def write_filelists(packages, dislocated_files):
         suite = packages[unique_id]["suite"]
         component = packages[unique_id]["component"]
         arch = packages[unique_id]["arch"]
-        packagetype = packages[unique_id]["type"]
+        packagetype = packages[unique_id]["filetype"]
         d.setdefault(suite, {})
         d[suite].setdefault(component, {})
         d[suite][component].setdefault(arch, {})