One failing rm should not block others
This commit is contained in:
parent
b30709f133
commit
f87a4b9a04
2 changed files with 7 additions and 8 deletions
|
@ -136,6 +136,8 @@ def rm_rf(path):
|
|||
except OSError as e:
|
||||
if e.errno != errno.ENOENT:
|
||||
raise
|
||||
except WindowsError: # pylint: disable=E0602
|
||||
pass
|
||||
|
||||
|
||||
def safe_unlink(path):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue