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

0 comments on commit 8ae54e5

Please sign in to comment.