mirror of https://github.com/pypa/pip
Remove no-op calls to WheelCache.cleanup
This commit is contained in:
parent
eead579049
commit
77e9b79d0e
|
@ -96,8 +96,5 @@ class FreezeCommand(Command):
|
|||
exclude_editable=options.exclude_editable,
|
||||
)
|
||||
|
||||
try:
|
||||
for line in freeze(**freeze_kwargs):
|
||||
sys.stdout.write(line + '\n')
|
||||
finally:
|
||||
wheel_cache.cleanup()
|
||||
for line in freeze(**freeze_kwargs):
|
||||
sys.stdout.write(line + '\n')
|
||||
|
|
|
@ -447,7 +447,6 @@ class InstallCommand(RequirementCommand):
|
|||
# Clean up
|
||||
if not options.no_clean:
|
||||
requirement_set.cleanup_files()
|
||||
wheel_cache.cleanup()
|
||||
|
||||
if options.target_dir:
|
||||
self._handle_target_dir(
|
||||
|
|
|
@ -194,4 +194,3 @@ class WheelCommand(RequirementCommand):
|
|||
finally:
|
||||
if not options.no_clean:
|
||||
requirement_set.cleanup_files()
|
||||
wheel_cache.cleanup()
|
||||
|
|
Loading…
Reference in New Issue