aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-08-19 19:33:55 +0100
committerJason R. Coombs <jaraco@jaraco.com>2015-08-19 19:33:55 +0100
commit1f9c2b756ae6050e11d2dfde03a48df354fb0835 (patch)
tree30a6e5f9e879fa14eace0715c52e00595761af42 /setuptools/command/easy_install.py
parent413d2abe55dc436b22516ac663f14dd85987d3d9 (diff)
downloadexternal_python_setuptools-1f9c2b756ae6050e11d2dfde03a48df354fb0835.tar.gz
external_python_setuptools-1f9c2b756ae6050e11d2dfde03a48df354fb0835.tar.bz2
external_python_setuptools-1f9c2b756ae6050e11d2dfde03a48df354fb0835.zip
Extract variable
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index df1655bf..dfdd757e 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -1530,7 +1530,8 @@ class PthDistributions(Environment):
if not self.dirty:
return
- data = '\n'.join(map(self.make_relative, self.paths))
+ rel_paths = map(self.make_relative, self.paths)
+ data = '\n'.join(rel_paths)
if data:
log.debug("Saving %s", self.filename)
data = (