From: Joerg Jaspert Date: Sun, 25 Jan 2009 00:47:27 +0000 (+0100) Subject: make-suite-file-list X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=6153121f76835cc6df83c0f45ba69bf19b0ab154;p=dak.git make-suite-file-list forgot to rename one usage of the two variable names Signed-off-by: Joerg Jaspert --- diff --git a/dak/make_suite_file_list.py b/dak/make_suite_file_list.py index d6dbf9d0..87dfbdf9 100755 --- a/dak/make_suite_file_list.py +++ b/dak/make_suite_file_list.py @@ -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, {})