Skip to content

Commit 9d9dcd6

Browse files
committed
revert shutil formatting
1 parent 300fe89 commit 9d9dcd6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

fs/osfs.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -470,11 +470,7 @@ def copy(self, src_path, dst_path, overwrite=False, preserve_time=False):
470470
# type: (Text, Text, bool, bool) -> None
471471
with self._lock:
472472
_src_path, _dst_path = self._check_copy(src_path, dst_path, overwrite)
473-
_src_sys, _dst_sys = (
474-
self.getsyspath(_src_path),
475-
self.getsyspath(_dst_path),
476-
)
477-
shutil.copy2(_src_sys, _dst_sys)
473+
shutil.copy2(self.getsyspath(_src_path), self.getsyspath(_dst_path))
478474

479475
# --- Backport of os.scandir for Python < 3.5 ------------
480476

0 commit comments

Comments
 (0)