mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-23 16:31:32 +00:00
Only show the first (relevant) remove hint in excuses
In the unlike case that there are multiple removal hints, showing the first valid hint should be sufficient. Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
045ce2bf7b
commit
6e560c854a
@ -1304,6 +1304,7 @@ class Britney(object):
|
|||||||
excuse.addhtml("Removal request by %s" % (hint.user))
|
excuse.addhtml("Removal request by %s" % (hint.user))
|
||||||
excuse.addhtml("Trying to remove package, not update it")
|
excuse.addhtml("Trying to remove package, not update it")
|
||||||
excuse.is_valid = False
|
excuse.is_valid = False
|
||||||
|
break
|
||||||
|
|
||||||
# check if there is a `block' or `block-udeb' hint for this package, or a `block-all source' hint
|
# check if there is a `block' or `block-udeb' hint for this package, or a `block-all source' hint
|
||||||
blocked = {}
|
blocked = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user