mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-06-14 19:21:42 +00:00
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:
parent
fcc1d1e2bc
commit
9fc14153a3
@ -564,6 +564,7 @@ class Britney:
|
|||||||
for line in open(filename):
|
for line in open(filename):
|
||||||
l = line.split()
|
l = line.split()
|
||||||
if len(l) != 2:
|
if len(l) != 2:
|
||||||
|
print "WARNING: Malformed line found in %s: %s" % (file, line)
|
||||||
continue
|
continue
|
||||||
bugs[l[0]] = l[1].split(",")
|
bugs[l[0]] = l[1].split(",")
|
||||||
return bugs
|
return bugs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user