X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dak%2Fcheck_archive.py;h=80782908864f5a72ed52ee5fbd55b76976fc3d1a;hb=fdf3c42445b4f11f4cd71634dd2b57cb7d7a4f36;hp=bf10e6d4156e055beb032ced97c2bb9e9e446a7b;hpb=c99238db49e49f53712fcd992c85f03c9c503715;p=dak.git diff --git a/dak/check_archive.py b/dak/check_archive.py index bf10e6d4..80782908 100755 --- a/dak/check_archive.py +++ b/dak/check_archive.py @@ -86,8 +86,8 @@ def process_dir (unused, dirname, filenames): @type dirname: string @param dirname: the directory to look at - @type filename: dict - @param filename: Known filenames to ignore + @type filenames: dict + @param filenames: Known filenames to ignore """ global waste, db_files, excluded @@ -151,8 +151,6 @@ def check_dscs(): count = 0 suite = 'unstable' for component in Cnf.SubTree("Component").List(): - if component == "mixed": - continue component = component.lower() list_filename = '%s%s_%s_source.list' % (Cnf["Dir::Lists"], suite, component) list_file = utils.open_file(list_filename) @@ -412,7 +410,7 @@ def check_indices_files_exist(): """ for suite in [ "stable", "testing", "unstable" ]: for component in Cnf.ValueList("Suite::%s::Components" % (suite)): - architectures = Cnf.ValueList("Suite::%s::Architectures" % (suite)) + architectures = database.get_suite_architectures(suite) for arch in [ i.lower() for i in architectures ]: if arch == "source": validate_sources(suite, component)