mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-08 00:51:36 +00:00
Use self.__log() when warning about malformed BugsV lines
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
parent
92cf5754fc
commit
370d31b4ef
@ -580,7 +580,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)
|
self.__log("Malformed line found in line %s" % (line), type='W')
|
||||||
continue
|
continue
|
||||||
pkg = l[0]
|
pkg = l[0]
|
||||||
if pkg.startswith('src:'): pkg = pkg[4:]
|
if pkg.startswith('src:'): pkg = pkg[4:]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user