From 608ce0e9d2acb48695cec844367919933205127b Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Sun, 29 Jan 2017 11:14:55 +0100 Subject: [PATCH] Fix logging of conflicting hints Not all hints have a 'days' attribute. Signed-off-by: Julien Cristau --- britney.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/britney.py b/britney.py index b3f2d45..c4415ba 100755 --- a/britney.py +++ b/britney.py @@ -975,9 +975,9 @@ class Britney(object): (x, package, hint.version, hint.user, hint2.version, hint2.user), type="W") hint.set_active(False) else: - self.log("Overriding %s[%s] = ('%s', '%s', '%s') with ('%s', '%s', '%s')" % - (x, package, hint2.version, hint2.user, hint2.days, - hint.version, hint.user, hint.days), type="W") + self.log("Overriding %s[%s] = ('%s', '%s') with ('%s', '%s')" % + (x, package, hint2.user, hint2, hint.user, hint), + type="W") hint2.set_active(False) z[package] = key