mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-15 13:11:16 +00:00
Use the correct required age in html excuses
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
0c44d3ac27
commit
f6120e5ec3
@ -316,6 +316,7 @@ class AgePolicy(BasePolicy):
|
||||
if new_req:
|
||||
excuse.addhtml("Overriding age needed from %d days to %d by %s" % (
|
||||
age_min_req, new_req, who))
|
||||
age_min_req = new_req
|
||||
else:
|
||||
excuse.addhtml("Too young, but urgency pushed by %s" % who)
|
||||
excuse.setdaysold(age_info['current-age'], age_min_req)
|
||||
|
Loading…
x
Reference in New Issue
Block a user