mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-16 13:01:29 +00:00
Fix logging of conflicting hints
Not all hints have a 'days' attribute. Signed-off-by: Julien Cristau <jcristau@debian.org>
This commit is contained in:
parent
ccfd61cf6a
commit
608ce0e9d2
@ -975,9 +975,9 @@ class Britney(object):
|
|||||||
(x, package, hint.version, hint.user, hint2.version, hint2.user), type="W")
|
(x, package, hint.version, hint.user, hint2.version, hint2.user), type="W")
|
||||||
hint.set_active(False)
|
hint.set_active(False)
|
||||||
else:
|
else:
|
||||||
self.log("Overriding %s[%s] = ('%s', '%s', '%s') with ('%s', '%s', '%s')" %
|
self.log("Overriding %s[%s] = ('%s', '%s') with ('%s', '%s')" %
|
||||||
(x, package, hint2.version, hint2.user, hint2.days,
|
(x, package, hint2.user, hint2, hint.user, hint),
|
||||||
hint.version, hint.user, hint.days), type="W")
|
type="W")
|
||||||
hint2.set_active(False)
|
hint2.set_active(False)
|
||||||
|
|
||||||
z[package] = key
|
z[package] = key
|
||||||
|
Loading…
x
Reference in New Issue
Block a user