mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-13 23:38:20 +00:00
autopkgtest: Allow adt_reference_max_age
to be empty
This commit is contained in:
parent
ed751fd1d8
commit
36b606a6be
@ -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