diff --git a/autopkgtest.py b/autopkgtest.py index 245db91..41aba45 100644 --- a/autopkgtest.py +++ b/autopkgtest.py @@ -39,7 +39,8 @@ class AutoPackageTest(object): accepted. """ - def __init__(self, series, debug=False): + def __init__(self, britney, series, debug=False): + self.britney = britney self.series = series self.debug = debug self.read() diff --git a/britney.py b/britney.py index 006a425..1dd33a2 100755 --- a/britney.py +++ b/britney.py @@ -1760,7 +1760,7 @@ class Britney(object): # trigger autopkgtests for valid candidates adt_debug = getattr(self.options, "adt_debug", "no") == "yes" autopkgtest = AutoPackageTest( - self.options.adt_series, debug=adt_debug) + self, self.options.adt_series, debug=adt_debug) autopkgtest_packages = [] autopkgtest_excuses = [] for e in self.excuses: