summaryrefslogtreecommitdiff
path: root/pkg_resources.py
diff options
context:
space:
mode:
Diffstat (limited to 'pkg_resources.py')
-rw-r--r--pkg_resources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg_resources.py b/pkg_resources.py
index 6717c2ad..e43201d4 100644
--- a/pkg_resources.py
+++ b/pkg_resources.py
@@ -467,7 +467,7 @@ class WorkingSet(object):
to_activate = []
while requirements:
- req = requirements.pop()
+ req = requirements.pop(0) # process dependencies breadth-first
if req in processed:
# Ignore cyclic or redundant dependencies
continue