X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fmake_suite_file_list.py;h=349a4ae09115f4530e31ae3af0338be8f47696ef;hb=62a6fc9a5a919d393413c540d6513c6acc41ff03;hp=3c690a510960b42da5e9d8a36a4d9952bc7c5a84;hpb=731c2232d9964d0f441ff5ea386e5e9937aa77ab;p=dak.git diff --git a/dak/make_suite_file_list.py b/dak/make_suite_file_list.py index 3c690a51..349a4ae0 100755 --- a/dak/make_suite_file_list.py +++ b/dak/make_suite_file_list.py @@ -54,10 +54,6 @@ Options = None #: Parsed CommandLine arguments ################################################################################ -def Dict(**dict): return dict - -################################################################################ - def usage (exit_code=0): print """Usage: dak make-suite-file-list [OPTION] Write out file lists suitable for use with apt-ftparchive. @@ -309,6 +305,8 @@ def write_filelists(packages, dislocated_files, session): ################################################################################ def do_da_do_da(): + cnf = Config() + # If we're only doing a subset of suites, ensure we do enough to # be able to do arch: all mapping. if Options["Suite"]: @@ -357,7 +355,7 @@ SELECT s.id, s.source, 'source', s.version, l.path, f.filename, c.name, f.id, # 'id' comes from either 'binaries' or 'source', so it's not unique unique_id += 1 - packages[unique_id] = Dict(sourceid=sourceid, pkg=pkg, arch=arch, version=version, + packages[unique_id] = dict(sourceid=sourceid, pkg=pkg, arch=arch, version=version, path=path, filename=filename, component=component, file_id=file_id, suite=suite, filetype = filetype)