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

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
debian
Adam D. Barratt 15 years ago
parent 975ac48a41
commit 9336be8d7d

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