Skip to content

Commit d8dcd94

Browse files
committed
Don't purge everything anymore
1 parent 819e54a commit d8dcd94

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/manage/uninstall_command.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -106,14 +106,6 @@ def execute(cmd):
106106
for _, cleanup in SHORTCUT_HANDLERS.values():
107107
if cleanup:
108108
cleanup(cmd, [])
109-
# Clean up other lingering directories
110-
LOGGER.info("Purging remaining files")
111-
for d in _iterdir(cmd.install_dir):
112-
if d.is_dir():
113-
LOGGER.verbose("Removing %s", d)
114-
rmtree(d, after_5s_warning=warn_msg.format("remaining files"))
115-
if any(_iterdir(cmd.install_dir)):
116-
LOGGER.warn("Unable to fully remove %s.", cmd.install_dir)
117109
LOGGER.debug("END uninstall_command.execute")
118110
return
119111

0 commit comments

Comments
 (0)