Replace broken excuse dependency code with comment

ubuntu/rebased
Ivo De Decker 5 years ago
parent 48375e7796
commit 29557abab0

@ -673,9 +673,9 @@ def invalidate_excuses(excuses, valid, invalid, invalidated):
# create dependencies between excuses based on packages # create dependencies between excuses based on packages
excuses_rdeps = defaultdict(set) excuses_rdeps = defaultdict(set)
for exc in excuses.values(): for exc in excuses.values():
for deptype in exc.all_deps: # Note that excuses_rdeps is only populated by dependencies generated
for d in exc.all_deps[deptype]: # based on packages below. There are currently no dependencies between
excuses_rdeps[d].add(exc.name) # excuses that are added directly, so this is ok.
for pkg_dep in exc.depends_packages: for pkg_dep in exc.depends_packages:
# set of excuses, each of which can satisfy this specific # set of excuses, each of which can satisfy this specific

Loading…
Cancel
Save