X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fcheck_proposed_updates.py;h=16a9876348d24f78b80179950e338915b58057c5;hb=812d74ec69e46442524d7dea6505e0ae57572040;hp=f12df878948113576715d94d768f7d5839c3a2a6;hpb=fdf3c42445b4f11f4cd71634dd2b57cb7d7a4f36;p=dak.git diff --git a/dak/check_proposed_updates.py b/dak/check_proposed_updates.py index f12df878..16a98763 100755 --- a/dak/check_proposed_updates.py +++ b/dak/check_proposed_updates.py @@ -176,6 +176,9 @@ def check_changes (filename): try: changes = utils.parse_changes(filename) files = utils.build_file_list(changes) + except ChangesUnicodeError: + utils.warn("Improperly encoded changes file, not utf-8") + return except: utils.warn("Error parsing changes file '%s'" % (filename)) return