diff options
author | PJ Eby <distutils-sig@python.org> | 2005-09-03 04:04:03 +0000 |
---|---|---|
committer | PJ Eby <distutils-sig@python.org> | 2005-09-03 04:04:03 +0000 |
commit | b0e7e11baf41710baca13c9ec0edb445b66914d8 (patch) | |
tree | d9178cb2a53268fc9c3708d7e1c83e8e25cf8932 /setuptools/command/easy_install.py | |
parent | ff23de19b2189dc8cf0d7730034fa01667bda04a (diff) | |
download | external_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-x | setuptools/command/easy_install.py | 2 |
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() |