From 6ca84132f9e76bf2828d17e87de9c43f77581cfe Mon Sep 17 00:00:00 2001 From: Ivo De Decker Date: Mon, 30 Dec 2019 00:06:20 +0000 Subject: [PATCH] Excuses: remove unused sane_deps Signed-off-by: Ivo De Decker --- britney2/excuse.py | 6 ------ britney2/excusefinder.py | 1 - 2 files changed, 7 deletions(-) diff --git a/britney2/excuse.py b/britney2/excuse.py index bad337b..6b4a60b 100644 --- a/britney2/excuse.py +++ b/britney2/excuse.py @@ -77,7 +77,6 @@ class Excuse(object): self.all_invalid_deps = {} self.all_deps = {} - self.sane_deps = [] self.break_deps = [] self.unsatisfiable_on_archs = [] self.unsat_deps = defaultdict(set) @@ -153,11 +152,6 @@ class Excuse(object): deps.add(dep) return deps - def add_sane_dep(self, name): - """Add a sane dependency""" - if name not in self.sane_deps: - self.sane_deps.append(name) - def add_break_dep(self, name, arch): """Add a break dependency""" if (name, arch) not in self.break_deps: diff --git a/britney2/excusefinder.py b/britney2/excusefinder.py index 6e5e767..a7cb092 100644 --- a/britney2/excusefinder.py +++ b/britney2/excusefinder.py @@ -64,7 +64,6 @@ class ExcuseFinder(object): for p in packages: if p.pkg_id.package_name not in binaries_s_a: continue - excuse.add_sane_dep(p.source) continue # check if the block can be satisfied in the source suite, and list the solving packages