mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-03-26 10:21:12 +00:00
Excuses: remove unused sane_deps
Signed-off-by: Ivo De Decker <ivodd@debian.org>
This commit is contained in:
parent
31e3278202
commit
6ca84132f9
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user