aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/develop.py
diff options
context:
space:
mode:
authoragronholm <none@none>2009-09-27 01:12:15 +0300
committeragronholm <none@none>2009-09-27 01:12:15 +0300
commit3f06b14ae21d70149f4f404f2d9d82f3842c23dc (patch)
tree3a831f43ae69a46ccbe897f3d4d3a5ccf74dcb55 /setuptools/command/develop.py
parentceb63ce0341593a12ed0064ea616e6418ccffd21 (diff)
downloadexternal_python_setuptools-3f06b14ae21d70149f4f404f2d9d82f3842c23dc.tar.gz
external_python_setuptools-3f06b14ae21d70149f4f404f2d9d82f3842c23dc.tar.bz2
external_python_setuptools-3f06b14ae21d70149f4f404f2d9d82f3842c23dc.zip
Changed file() calls to open() calls
--HG-- branch : distribute extra : rebase_source : a2567f3f28d896dd0abbbed8a2626cc4ecb3e44e
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