From 718be51e7d798f659840d2f78bade88fc6d217fa Mon Sep 17 00:00:00 2001 From: Danilo Poccia Date: Tue, 17 Jun 2014 18:36:37 +0200 Subject: [PATCH] Move/rename dirs now works recoursively to keep the cache updated. --- yas3fs/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yas3fs/__init__.py b/yas3fs/__init__.py index 8b65eb5..f17ea0e 100755 --- a/yas3fs/__init__.py +++ b/yas3fs/__init__.py @@ -1908,7 +1908,7 @@ def rename(self, path, new_path): if not new_parent_key and not self.folder_has_contents(new_parent_path): logger.debug("rename '%s' '%s' ENOENT no parent path '%s'" % (path, new_path, new_parent_path)) raise FuseOSError(errno.ENOENT) - attr = self.getattr(path) xxx + attr = self.getattr(path) if stat.S_ISDIR(attr['st_mode']): self.rename_path(path, new_path) else: