mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-23 19:31:55 +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):
|
||||
l = line.split()
|
||||
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
|
||||
pkg = l[0]
|
||||
if pkg.startswith('src:'): pkg = pkg[4:]
|
||||
|
Loading…
x
Reference in New Issue
Block a user