Commit 7ab342a1 authored by Jason R. Coombs's avatar Jason R. Coombs

Remove excess indent

parent f9fd181f
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment