[Python-checkins] python/nondist/sandbox/setuptools/setuptools/command easy_install.py, 1.21, 1.22

pje@users.sourceforge.net pje at users.sourceforge.net
Sun Aug 14 22:46:59 CEST 2005


Update of /cvsroot/python/python/nondist/sandbox/setuptools/setuptools/command
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21106/setuptools/command

Modified Files:
	easy_install.py 
Log Message:
Fix a bug introduced by removing the Environment.get() method.


Index: easy_install.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/setuptools/setuptools/command/easy_install.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- easy_install.py	11 Aug 2005 00:37:37 -0000	1.21
+++ easy_install.py	14 Aug 2005 20:46:49 -0000	1.22
@@ -822,7 +822,7 @@
         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)



More information about the Python-checkins mailing list