From 370d31b4ef101a31ec6bdd30a08ebea03bfd40dc Mon Sep 17 00:00:00 2001 From: "Adam D. Barratt" Date: Sun, 28 Feb 2010 17:19:06 +0000 Subject: [PATCH] Use self.__log() when warning about malformed BugsV lines Signed-off-by: Adam D. Barratt --- britney.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney.py b/britney.py index ce21995..7d67223 100755 --- a/britney.py +++ b/britney.py @@ -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:]