From 328695ee63fb868f8b9fcc5225f9765f2792d032 Mon Sep 17 00:00:00 2001 From: Ivo De Decker Date: Tue, 15 Jan 2019 22:47:32 +0000 Subject: [PATCH] Enable BuiltUsingPolicy Signed-off-by: Ivo De Decker --- britney.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/britney.py b/britney.py index bb01c00..c202a8a 100755 --- a/britney.py +++ b/britney.py @@ -202,7 +202,7 @@ from britney2.installability.solver import InstallabilitySolver from britney2.migration import MigrationManager from britney2.migrationitem import MigrationItem, MigrationItemFactory from britney2.policies import PolicyVerdict -from britney2.policies.policy import AgePolicy, RCBugPolicy, PiupartsPolicy, BuildDependsPolicy, PolicyEngine, BlockPolicy +from britney2.policies.policy import AgePolicy, RCBugPolicy, PiupartsPolicy, BuildDependsPolicy, PolicyEngine, BlockPolicy, BuiltUsingPolicy from britney2.policies.autopkgtest import AutopkgtestPolicy from britney2.utils import (log_and_format_old_libraries, get_dependency_solvers, read_nuninst, write_nuninst, write_heidi, @@ -493,6 +493,7 @@ class Britney(object): self._policy_engine.add_policy(AgePolicy(self.options, self.suite_info, MINDAYS)) self._policy_engine.add_policy(BuildDependsPolicy(self.options, self.suite_info)) self._policy_engine.add_policy(BlockPolicy(self.options, self.suite_info)) + self._policy_engine.add_policy(BuiltUsingPolicy(self.options, self.suite_info)) @property def hints(self):