Bug #5263
Updated by Anchi Cheng about 7 years ago
The removal of empty parent directory make this a possible situation.
The error message:
<pre>
File "/Users/acheng/myami/redux/cachefs.py", line 142, in remove
self.removedir(os.path.dirname(name), recursive=True)
File "/Users/acheng/miniconda/lib/python2.7/site-packages/fs-0.5.1-py2.7.egg/fs/errors.py", line 257, in wrapper
return func(self,*args,**kwds)
File "/Users/acheng/miniconda/lib/python2.7/site-packages/fs-0.5.1-py2.7.egg/fs/osfs/__init__.py", line 291, in removedir
raise RemoveRootError(path)
RemoveRootError: Can't remove root dir
</pre>
We don't want it to stop redux.