From 8641af1c24581008fca101b2bcff303d6ee9e164 Mon Sep 17 00:00:00 2001 From: "Adam D. Barratt" Date: Sat, 29 Oct 2011 14:32:26 +0000 Subject: [PATCH] Use the correct (and existing) variable in an error message 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 e97a5f9..ba01db3 100755 --- a/britney.py +++ b/britney.py @@ -2540,7 +2540,7 @@ class Britney: elif pkg.suite in ['pu', 'tpu']: if pkg.package not in self.sources[pkg.suite]: continue if apt_pkg.VersionCompare(self.sources[pkg.suite][pkg.package][VERSION], pkg.version) != 0: - self.output_write(" Version mismatch, %s %s != %s\n" % (pkg.package, pkg.version, self.sources[suite][pkg.package][VERSION])) + self.output_write(" Version mismatch, %s %s != %s\n" % (pkg.package, pkg.version, self.sources[pkg.suite][pkg.package][VERSION])) ok = False # does the package exist in unstable? elif pkg.package not in self.sources['unstable']: