diff options
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-x | setuptools/command/easy_install.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 531ac8ff..01c67ccc 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -204,7 +204,9 @@ class easy_install(Command): filename for filename in blockers if os.path.exists(filename) or os.path.islink(filename) ) - for filename in extant_blockers: + list(map(self._delete_filename, extant_blockers)) + + def _delete_filename(self, filename): log.info("Deleting %s", filename) if not self.dry_run: if (os.path.isdir(filename) and |