diff options
| author | agronholm <devnull@localhost> | 2009-09-27 01:12:15 +0300 |
|---|---|---|
| committer | agronholm <devnull@localhost> | 2009-09-27 01:12:15 +0300 |
| commit | 610f8e536f2fa6299af12dd8333da09f7a4641fc (patch) | |
| tree | 06a95873db3a63c924b2871b1a33974a90d9d954 /setuptools/command/develop.py | |
| parent | 75edac8c396b812c450feab249855c81530a8da1 (diff) | |
| download | python-setuptools-bitbucket-610f8e536f2fa6299af12dd8333da09f7a4641fc.tar.gz | |
Changed file() calls to open() calls
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 |
