diff --git a/britney2/policies/autopkgtest.py b/britney2/policies/autopkgtest.py index 6bdb630..c847a79 100644 --- a/britney2/policies/autopkgtest.py +++ b/britney2/policies/autopkgtest.py @@ -306,7 +306,7 @@ class AutopkgtestPolicy(BasePolicy): if verdict != PolicyVerdict.PASS: # check for force-skiptest hint - hints = self.britney.hints.search('force-skiptest', package=source_name, version=source_data_srcdist.version) + hints = self.hints.search('force-skiptest', package=source_name, version=source_data_srcdist.version) if hints: excuse.addreason('skiptest') excuse.addhtml("Should wait for tests relating to %s %s, but forced by %s" % @@ -832,7 +832,7 @@ class AutopkgtestPolicy(BasePolicy): def has_force_badtest(self, src, ver, arch): '''Check if src/ver/arch has a force-badtest hint''' - hints = self.britney.hints.search('force-badtest', package=src) + hints = self.hints.search('force-badtest', package=src) if hints: self.logger.info('Checking hints for %s/%s/%s: %s', src, ver, arch, [str(h) for h in hints]) for hint in hints: