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: