X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fcheck_archive.py;h=bed974de47293620d98d7964caed4757589dacbc;hb=603d8ace7d4f942c999c29556bde38ec2516b9a8;hp=f7230b00ee51608cb7a8ca46cff3a5cf74f88ac5;hpb=b840ef0761e8b91bdec102b60b3bf09137627117;p=dak.git diff --git a/dak/check_archive.py b/dak/check_archive.py index f7230b00..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))