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

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
Adam D. Barratt 2010-02-28 14:44:36 +00:00
parent fcc1d1e2bc
commit 9fc14153a3

View File

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