Skip to content

Commit

Permalink
Move/rename dirs now works recoursively to keep the cache updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
danilop committed Jun 17, 2014
1 parent c815bb5 commit 718be51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yas3fs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 718be51

Please sign in to comment.