Skip to content

Commit 4045bcf

Browse files
committed
Add partial fix for --rm on cases w/ subfolders, doesn't fully work
1 parent 6099dd3 commit 4045bcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cape/cfdx/cntl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3199,7 +3199,7 @@ def DeleteCase(self, i: int, **kw):
31993199
# Local function to perform deletion
32003200
def del_folder(frun):
32013201
# Delete the folder using :mod:`shutil`
3202-
shutil.rmtree(frun)
3202+
shutil.rmtree(frun, ignore_errors=True)
32033203
# Status update
32043204
print(" Deleted folder '%s'" % frun)
32053205
# Get the case name and go there.

0 commit comments

Comments
 (0)