Print a warning about malformed lines in the RC-bug list files

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
bzr-import-20160707
Adam D. Barratt 15 years ago
parent fcc1d1e2bc
commit 9fc14153a3

@ -564,6 +564,7 @@ class Britney:
for line in open(filename):
l = line.split()
if len(l) != 2:
print "WARNING: Malformed line found in %s: %s" % (file, line)
continue
bugs[l[0]] = l[1].split(",")
return bugs

Loading…
Cancel
Save