Commit b0e7e11b authored by PJ Eby's avatar PJ Eby

Fix typo in symlink handling code.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041235
parent ff23de19
...@@ -849,7 +849,7 @@ See the setuptools documentation for the "develop" command for more info. ...@@ -849,7 +849,7 @@ See the setuptools documentation for the "develop" command for more info.
# Ensure that setuptools itself never becomes unavailable! # Ensure that setuptools itself never becomes unavailable!
# XXX should this check for latest version? # XXX should this check for latest version?
filename = os.path.join(self.install_dir,'setuptools.pth') 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 = open(filename, 'wt')
f.write(dist.location+'\n') f.write(dist.location+'\n')
f.close() f.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment