summaryrefslogtreecommitdiff
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
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()