[Python-checkins] python/nondist/sandbox/setuptools/setuptools/command easy_install.py, 1.25, 1.26
pje@users.sourceforge.net
pje at users.sourceforge.net
Sat Sep 3 06:04:15 CEST 2005
Update of /cvsroot/python/python/nondist/sandbox/setuptools/setuptools/command
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5150/setuptools/command
Modified Files:
easy_install.py
Log Message:
Fix typo in symlink handling code.
Index: easy_install.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/setuptools/setuptools/command/easy_install.py,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- easy_install.py 23 Aug 2005 13:34:52 -0000 1.25
+++ easy_install.py 3 Sep 2005 04:04:03 -0000 1.26
@@ -849,7 +849,7 @@
# Ensure that setuptools itself never becomes unavailable!
# XXX should this check for latest version?
filename = os.path.join(self.install_dir,'setuptools.pth')
- if os.path.islink(filename): unlink(filename)
+ if os.path.islink(filename): os.unlink(filename)
f = open(filename, 'wt')
f.write(dist.location+'\n')
f.close()
More information about the Python-checkins
mailing list