Use default urgency for all packages if Urgencies is missing

pre-rebase-2016-12-12
Colin Watson 12 years ago committed by Martin Pitt
parent 1dd23e3af1
commit 55dd22fe9b

@ -339,6 +339,10 @@ class AgePolicy(BasePolicy):
except AttributeError:
filename = fallback_filename
if not os.path.exists(filename):
self.log("%s missing; using default for all packages" % filename)
return
with open(filename, errors='surrogateescape', encoding='ascii') as fd:
for line in fd:
# <source> <version> <urgency>

Loading…
Cancel
Save