We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ae54e5 commit f2a18c4Copy full SHA for f2a18c4
yas3fs/__init__.py
@@ -1830,8 +1830,8 @@ def rmdir(self, path):
1830
logger.debug("rmdir '%s' cache ENOENT" % (path))
1831
raise FuseOSError(errno.ENOENT)
1832
k = self.get_key(path)
1833
- if not k and not self.folder_has_contents(path):
1834
- logger.debug("rmdir '%s' key ENOENT" % (path))
+ if not k and not self.cache.has(path) and not self.folder_has_contents(path):
+ logger.debug("rmdir '%s' S3 ENOENT" % (path))
1835
1836
dirs = self.cache.get(path, 'readdir')
1837
if dirs == None:
0 commit comments