summaryrefslogtreecommitdiff
path: root/pkg_resources.py
diff options
context:
space:
mode:
Diffstat (limited to 'pkg_resources.py')
-rw-r--r--pkg_resources.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkg_resources.py b/pkg_resources.py
index ac72d71f..a5b02223 100644
--- a/pkg_resources.py
+++ b/pkg_resources.py
@@ -589,8 +589,9 @@ class WorkingSet(object):
# key -> dist
best = {}
to_activate = []
- # key with req -> set of things that required it
- # useful for reporting info about conflicts
+
+ # Mapping of requirement to set of distributions that required it;
+ # useful for reporting info about conflicts.
required_by = collections.defaultdict(set)
while requirements: