diff options
Diffstat (limited to 'setuptools/command/develop.py')
-rwxr-xr-x | setuptools/command/develop.py | 2 |
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 |