From 1f1086b9293d5e6fc86b721506b8894ca6f2053f Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Sat, 12 Nov 2016 11:35:00 +0000 Subject: [PATCH] utils: Replace a case of b[FOO] with b.foo Signed-off-by: Niels Thykier --- britney2/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney2/utils.py b/britney2/utils.py index 0268628..bd07bc8 100644 --- a/britney2/utils.py +++ b/britney2/utils.py @@ -662,7 +662,7 @@ def create_provides_map(packages): for pkg, dpkg in packages.items(): # register virtual packages and real packages that provide # them - for provided_pkg, provided_version, _ in dpkg[PROVIDES]: + for provided_pkg, provided_version, _ in dpkg.provides: provides[provided_pkg].add((pkg, provided_version)) return provides