We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88e0481 commit 08d33daCopy full SHA for 08d33da
fs/move.py
@@ -159,7 +159,7 @@ def move_dir(
159
raise IllegalDestination(dst_path)
160
with _src_fs.lock(), _dst_fs.lock():
161
with convert_os_errors("move_dir", src_path, directory=True):
162
- os.rename(src=src_syspath, dst=dst_syspath)
+ os.rename(src_syspath, dst_syspath)
163
# recreate the root dir if it has been renamed
164
if src_path == "/":
165
_src_fs.makedir("/")
0 commit comments