Permalink
Browse files

clean event

  • Loading branch information...
1 parent cc1e00a commit f835148fb26e813b192b52789b52142c5d642f6c @qwcode committed Sep 11, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 pip/req.py
View
2 pip/req.py
@@ -1105,6 +1105,7 @@ def prepare_files(self, finder, force_root_egg_info=False, bundle=False):
util.event_end('prepare')
def cleanup_files(self, bundle=False):
+ util.event_begin("clean")
"""Clean up files, remove builds."""
logger.notify('Cleaning up...')
logger.indent += 2
@@ -1126,6 +1127,7 @@ def cleanup_files(self, bundle=False):
rmtree(dir)
logger.indent -= 2
+ util.event_end("clean")
def _pip_has_created_build_dir(self):
return (self.build_dir == build_prefix and

0 comments on commit f835148

Please sign in to comment.