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 718be51 commit cb167c7
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 @@ -1922,7 +1922,7 @@ def rename_path(self, path, new_path):
for d in dirs:
if d in ['.', '..']:
continue
d_path = ''.join(path, '/', d)
d_path = ''.join([path, '/', d])
d_new_path = ''.join([new_path, '/', os.path.basename(path), d])
attr = self.getattr(d_path)
if stat.S_ISDIR(attr['st_mode']):
Expand Down

0 comments on commit cb167c7

Please sign in to comment.