From 29557abab0f128a277a26a163ba60c3bb998027d Mon Sep 17 00:00:00 2001 From: Ivo De Decker Date: Tue, 17 Mar 2020 19:39:01 +0000 Subject: [PATCH] Replace broken excuse dependency code with comment --- britney2/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/britney2/utils.py b/britney2/utils.py index c4afde6..a7e492b 100644 --- a/britney2/utils.py +++ b/britney2/utils.py @@ -673,9 +673,9 @@ def invalidate_excuses(excuses, valid, invalid, invalidated): # create dependencies between excuses based on packages excuses_rdeps = defaultdict(set) for exc in excuses.values(): - for deptype in exc.all_deps: - for d in exc.all_deps[deptype]: - excuses_rdeps[d].add(exc.name) + # Note that excuses_rdeps is only populated by dependencies generated + # based on packages below. There are currently no dependencies between + # excuses that are added directly, so this is ok. for pkg_dep in exc.depends_packages: # set of excuses, each of which can satisfy this specific