X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fcheck_archive.py;h=bed974de47293620d98d7964caed4757589dacbc;hb=6a4cddfbe864e563e671fe5dabf5600c4783af5c;hp=018761207a75ee23442145d303edb5fb5ffb621d;hpb=e47619471d54d20613d18bb8ac928650513ab404;p=dak.git diff --git a/dak/check_archive.py b/dak/check_archive.py index 01876120..bed974de 100755 --- a/dak/check_archive.py +++ b/dak/check_archive.py @@ -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) @@ -163,6 +161,9 @@ def check_dscs(): except InvalidDscError, line: utils.warn("syntax error in .dsc file '%s', line %s." % (f, line)) count += 1 + except ChangesUnicodeError: + utils.warn("found invalid changes file, not properly utf-8 encoded") + count += 1 if count: utils.warn("Found %s invalid .dsc files." % (count)) @@ -412,7 +413,7 @@ def check_indices_files_exist(): """ for suite in [ "stable", "testing", "unstable" ]: for component in Cnf.ValueList("Suite::%s::Components" % (suite)): - architectures = get_suite_architectures(suite) + architectures = database.get_suite_architectures(suite) for arch in [ i.lower() for i in architectures ]: if arch == "source": validate_sources(suite, component)