From 98ab5c9053b781fccb6b5d69bb1fe88580d4941a Mon Sep 17 00:00:00 2001 From: PJ Eby Date: Sun, 14 Aug 2005 20:46:49 +0000 Subject: 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 --- setuptools/command/easy_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/command') 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) -- cgit v1.2.1