Use self.__log() when warning about malformed BugsV lines

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
bzr-import-20160707
Adam D. Barratt 15 years ago
parent 6cba51fa55
commit f35e8b51ab

@ -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…
Cancel
Save