Fix excuses output for package with urgent hint

Signed-off-by: Ivo De Decker <ivodd@debian.org>
ubuntu/rebased
Ivo De Decker 5 years ago
parent 4a3f98657d
commit 4de569114a

@ -400,6 +400,7 @@ class AgePolicy(BasePolicy):
age_min_req = new_req age_min_req = new_req
else: else:
excuse.addinfo("Too young, but urgency pushed by %s" % who) excuse.addinfo("Too young, but urgency pushed by %s" % who)
age_min_req = 0
excuse.setdaysold(age_info['current-age'], age_min_req) excuse.setdaysold(age_info['current-age'], age_min_req)
if age_min_req == 0: if age_min_req == 0:

Loading…
Cancel
Save