diff --git a/britney2/policies/autopkgtest.py b/britney2/policies/autopkgtest.py index ab9ea7f..e1fb667 100644 --- a/britney2/policies/autopkgtest.py +++ b/britney2/policies/autopkgtest.py @@ -530,7 +530,7 @@ class AutopkgtestPolicy(BasePolicy): if src.startswith('gcc-'): if re.match('gcc-\d$', src): # add gcc's own tests, if it has any - srcinfo = self.britney.sources['unstable'][src] + srcinfo = source_suite.sources[src] if 'autopkgtest' in srcinfo.testsuite: tests.append((src, ver)) for test in ['binutils', 'fglrx-installer', 'libreoffice', 'linux']: