Pass Britney instances through to AutoPackageTest.

bzr-import-20160707
Colin Watson 12 years ago
parent 5ed767701b
commit 6da7f96ca2

@ -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()

@ -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:

Loading…
Cancel
Save