summaryrefslogtreecommitdiff
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
commitcf397ea4c48acc733c797455c5349bcd18af89c6 (patch)
treed9178cb2a53268fc9c3708d7e1c83e8e25cf8932 /setuptools/command/easy_install.py
parent4ac1c4a9cccadb04d7cf193f008ac7aa5cab3412 (diff)
downloadpython-setuptools-bitbucket-cf397ea4c48acc733c797455c5349bcd18af89c6.tar.gz
Fix typo in symlink handling code.
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()