summaryrefslogtreecommitdiff
path: root/pkg_resources.py
diff options
context:
space:
mode:
Diffstat (limited to 'pkg_resources.py')
-rw-r--r--pkg_resources.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg_resources.py b/pkg_resources.py
index 4c2b9959..3dc85525 100644
--- a/pkg_resources.py
+++ b/pkg_resources.py
@@ -2315,7 +2315,7 @@ class EntryPoint(object):
def parse_map(cls, data, dist=None):
"""Parse a map of entry point groups"""
if isinstance(data,dict):
- data = list(data.items())
+ data = data.items()
else:
data = split_sections(data)
maps = {}
@@ -3009,4 +3009,3 @@ run_main = run_script # backward compatibility
add_activation_listener(lambda dist: dist.activate())
working_set.entries=[]; list(map(working_set.add_entry,sys.path)) # match order
-