X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fcheck_archive.py;h=bed974de47293620d98d7964caed4757589dacbc;hb=603d8ace7d4f942c999c29556bde38ec2516b9a8;hp=80782908864f5a72ed52ee5fbd55b76976fc3d1a;hpb=763c9d2215bdebfc538e9e75f5e1dcc3e4fd5a6b;p=dak.git diff --git a/dak/check_archive.py b/dak/check_archive.py index 80782908..bed974de 100755 --- a/dak/check_archive.py +++ b/dak/check_archive.py @@ -161,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))