|
|
@ -323,6 +323,10 @@ class AgePolicy(BasePolicy):
|
|
|
|
except AttributeError:
|
|
|
|
except AttributeError:
|
|
|
|
filename = fallback_filename
|
|
|
|
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:
|
|
|
|
with open(filename, errors='surrogateescape', encoding='ascii') as fd:
|
|
|
|
for line in fd:
|
|
|
|
for line in fd:
|
|
|
|
# <source> <version> <urgency>
|
|
|
|
# <source> <version> <urgency>
|
|
|
|