Skip to content

Commit

Permalink
Log removal of bdist_dir always instead of just during a dry run (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
rytilahti authored and agronholm committed Oct 29, 2017
1 parent c8f23fe commit 3a87ece
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions wheel/bdist_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,8 @@ def run(self):
('bdist_wheel', get_python_version(), wheel_name))

if not self.keep_temp:
if self.dry_run:
logger.info('removing %s', self.bdist_dir)
else:
logger.info('removing %s', self.bdist_dir)
if not self.dry_run:
rmtree(self.bdist_dir)

def write_wheelfile(self, wheelfile_base, generator='bdist_wheel (' + wheel_version + ')'):
Expand Down

0 comments on commit 3a87ece

Please sign in to comment.