mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-22 19:01:31 +00:00
Fix wrong log message
Britney2's Hint object has no 'days' attribute, so we ought not try to print it. Seen in the wild for several hours during the Artful Alpha 1 milestone freeze, when a duplicate block hint caused britney to fail to run due to the resulting exception.
This commit is contained in:
parent
41ac7a81f9
commit
b80b8c533a
@ -1077,9 +1077,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.version, hint2.user,
|
||||
hint.version, hint.user), type="W")
|
||||
hint2.set_active(False)
|
||||
|
||||
z[package] = key
|
||||
|
Loading…
x
Reference in New Issue
Block a user