Excuses: remove unused sane_deps

Signed-off-by: Ivo De Decker <ivodd@debian.org>
ubuntu/rebased
Ivo De Decker 5 years ago
parent 31e3278202
commit 6ca84132f9

@ -77,7 +77,6 @@ class Excuse(object):
self.all_invalid_deps = {} self.all_invalid_deps = {}
self.all_deps = {} self.all_deps = {}
self.sane_deps = []
self.break_deps = [] self.break_deps = []
self.unsatisfiable_on_archs = [] self.unsatisfiable_on_archs = []
self.unsat_deps = defaultdict(set) self.unsat_deps = defaultdict(set)
@ -153,11 +152,6 @@ class Excuse(object):
deps.add(dep) deps.add(dep)
return deps 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): def add_break_dep(self, name, arch):
"""Add a break dependency""" """Add a break dependency"""
if (name, arch) not in self.break_deps: if (name, arch) not in self.break_deps:

@ -64,7 +64,6 @@ class ExcuseFinder(object):
for p in packages: for p in packages:
if p.pkg_id.package_name not in binaries_s_a: if p.pkg_id.package_name not in binaries_s_a:
continue continue
excuse.add_sane_dep(p.source)
continue continue
# check if the block can be satisfied in the source suite, and list the solving packages # check if the block can be satisfied in the source suite, and list the solving packages

Loading…
Cancel
Save