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)
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))