diff options
-rwxr-xr-x | setuptools/command/easy_install.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 01c67ccc..7dbbc878 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -207,13 +207,13 @@ class easy_install(Command): 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 - not os.path.islink(filename)): - rmtree(filename) - else: - os.unlink(filename) + log.info("Deleting %s", filename) + if not self.dry_run: + if (os.path.isdir(filename) and + not os.path.islink(filename)): + rmtree(filename) + else: + os.unlink(filename) def finalize_options(self): if self.version: |