Skip to content

Commit e7510dd

Browse files
committed
py2.7 takes no kwargs
1 parent 259eb01 commit e7510dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/move.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def move_dir(
159159
raise IllegalDestination(dst_path)
160160
with _src_fs.lock(), _dst_fs.lock():
161161
with convert_os_errors("move_dir", src_path, directory=True):
162-
os.rename(src=src_syspath, dst=dst_syspath)
162+
os.rename(src_syspath, dst_syspath)
163163
# recreate the root dir if it has been renamed
164164
if src_path == "/":
165165
_src_fs.makedir("/")

0 commit comments

Comments
 (0)