mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-03-12 11:51:09 +00:00
autopkgtest: Allow adt_reference_max_age
to be empty
This commit is contained in:
parent
15f431d37c
commit
c9dfcf9b06
@ -179,7 +179,8 @@ class AutopkgtestPolicy(BasePolicy):
|
||||
# Make adt_baseline optional
|
||||
setattr(self.options, 'adt_baseline', None)
|
||||
|
||||
if not hasattr(self.options, 'adt_reference_max_age'):
|
||||
if not hasattr(self.options, 'adt_reference_max_age') or \
|
||||
not self.options.adt_reference_max_age:
|
||||
self.options.adt_reference_max_age = float('inf')
|
||||
else:
|
||||
self.options.adt_reference_max_age = \
|
||||
|
Loading…
x
Reference in New Issue
Block a user