From b0e7e11baf41710baca13c9ec0edb445b66914d8 Mon Sep 17 00:00:00 2001 From: PJ Eby Date: Sat, 3 Sep 2005 04:04:03 +0000 Subject: Fix typo in symlink handling code. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041235 --- setuptools/command/easy_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/command/easy_install.py') 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() -- cgit v1.2.1