summaryrefslogtreecommitdiff
path: root/setuptools/command/develop.py
diff options
context:
space:
mode:
authoragronholm <devnull@localhost>2009-09-27 01:12:15 +0300
committeragronholm <devnull@localhost>2009-09-27 01:12:15 +0300
commit610f8e536f2fa6299af12dd8333da09f7a4641fc (patch)
tree06a95873db3a63c924b2871b1a33974a90d9d954 /setuptools/command/develop.py
parent75edac8c396b812c450feab249855c81530a8da1 (diff)
downloadpython-setuptools-bitbucket-610f8e536f2fa6299af12dd8333da09f7a4641fc.tar.gz
Changed file() calls to open() calls
Diffstat (limited to 'setuptools/command/develop.py')
-rwxr-xr-xsetuptools/command/develop.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/develop.py b/setuptools/command/develop.py
index 32888056..5643c773 100755
--- a/setuptools/command/develop.py
+++ b/setuptools/command/develop.py
@@ -105,7 +105,7 @@ class develop(easy_install):
def uninstall_link(self):
if os.path.exists(self.egg_link):
log.info("Removing %s (link to %s)", self.egg_link, self.egg_base)
- contents = [line.rstrip() for line in file(self.egg_link)]
+ contents = [line.rstrip() for line in open(self.egg_link)]
if contents not in ([self.egg_path], [self.egg_path, self.setup_path]):
log.warn("Link points to %s: uninstall aborted", contents)
return