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

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
debian
Adam D. Barratt 15 years ago
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…
Cancel
Save