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 e03e104d..d2398cad 100644
--- a/pkg_resources.py
+++ b/pkg_resources.py
@@ -482,7 +482,7 @@ class WorkingSet(object):
if dist is None:
raise DistributionNotFound(req) # XXX put more info here
to_activate.append(dist)
- elif dist not in req:
+ if dist not in req:
# Oops, the "best" so far conflicts with a dependency
raise VersionConflict(dist,req) # XXX put more info here
requirements.extend(dist.requires(req.extras)[::-1])