aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-09-03 04:04:03 +0000
committerPJ Eby <distutils-sig@python.org>2005-09-03 04:04:03 +0000
commitb0e7e11baf41710baca13c9ec0edb445b66914d8 (patch)
treed9178cb2a53268fc9c3708d7e1c83e8e25cf8932 /setuptools/command/easy_install.py
parentff23de19b2189dc8cf0d7730034fa01667bda04a (diff)
downloadexternal_python_setuptools-b0e7e11baf41710baca13c9ec0edb445b66914d8.tar.gz
external_python_setuptools-b0e7e11baf41710baca13c9ec0edb445b66914d8.tar.bz2
external_python_setuptools-b0e7e11baf41710baca13c9ec0edb445b66914d8.zip
Fix typo in symlink handling code.
--HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041235
Diffstat (limited to 'setuptools/command/easy_install.py')
-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 bf46b715..9ae32770 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -849,7 +849,7 @@ See the setuptools documentation for the "develop" command for more info.
# 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()