Commit cb0c8b49 authored by Peter Uittenbroek's avatar Peter Uittenbroek

Rename destination to dest.. forgot to save file

parent 6597f599
......@@ -609,15 +609,13 @@ class Installer:
logger.debug('Installing %s.', repr(specs)[1:-1])
path = self._path
destination = self._dest
if destination is not None and destination not in path:
path.insert(0, destination)
dest = self._dest
if dest is not None and dest not in path:
path.insert(0, dest)
requirements = [self._constrain(pkg_resources.Requirement.parse(spec))
for spec in specs]
if working_set is None:
ws = pkg_resources.WorkingSet([])
else:
......@@ -658,7 +656,7 @@ class Installer:
except pkg_resources.VersionConflict, err:
raise VersionConflict(err, ws)
if dist is None:
if destination:
if dest:
logger.debug('Getting required %r', str(req))
else:
logger.debug('Adding required %r', str(req))
......
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