aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-08-14 20:46:49 +0000
committerPJ Eby <distutils-sig@python.org>2005-08-14 20:46:49 +0000
commit98ab5c9053b781fccb6b5d69bb1fe88580d4941a (patch)
tree0828108b68550e313d224277684b76c89e37476c /setuptools/command
parenta20ad75bb1be6af2e06ad05956fc6001fcc3437b (diff)
downloadexternal_python_setuptools-98ab5c9053b781fccb6b5d69bb1fe88580d4941a.tar.gz
external_python_setuptools-98ab5c9053b781fccb6b5d69bb1fe88580d4941a.tar.bz2
external_python_setuptools-98ab5c9053b781fccb6b5d69bb1fe88580d4941a.zip
Fix a bug introduced by removing the Environment.get() method.
--HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041201
Diffstat (limited to 'setuptools/command')
-rwxr-xr-xsetuptools/command/easy_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 76f9ae7c..e0a98b62 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -822,7 +822,7 @@ See the setuptools documentation for the "develop" command for more info.
if self.pth_file is None:
return
- for d in self.pth_file.get(dist.key,()): # drop old entries
+ for d in self.pth_file[dist.key]: # drop old entries
if self.multi_version or d.location != dist.location:
log.info("Removing %s from easy-install.pth file", d)
self.pth_file.remove(d)