Commit b7f77fce authored by Reinout van Rees's avatar Reinout van Rees

Removed an 'else'

parent 8f227667
...@@ -656,13 +656,12 @@ class Installer: ...@@ -656,13 +656,12 @@ class Installer:
"Version conflict while processing requirement %s " "Version conflict while processing requirement %s "
"(constrained to %s)", "(constrained to %s)",
current_requirement, req) current_requirement, req)
if req.key in ['zc.buildout', 'setuptools']: # When bootstrapping zc.buildout, we might be doing it
# We're bootstrapping zc.buildout with a different # with a different version than the one we specified in
# version than the one we specified in our versions # our versions list. Reason: the bootstrap grabs the
# list. Ignore the error it and we'll grab the right # latest buildout. Same with setuptools.
# one below. # So ignore the version conflict for those two packages.
dist = None if req.key not in ['zc.buildout', 'setuptools']:
else:
raise VersionConflict(err, ws) raise VersionConflict(err, ws)
if dist is None: if dist is None:
if dest: if dest:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment