fs.download: remove unused copy between same fs (#6623)

This commit is contained in:
Saugat Pachhai
2021-09-15 17:36:37 +05:45
committed by GitHub
parent fbcc3f389c
commit a113097817
-4
View File
@@ -300,10 +300,6 @@ class BaseFileSystem:
if from_info.scheme != self.scheme:
raise NotImplementedError
if to_info.scheme == self.scheme != "local":
self.copy(from_info, to_info)
return 0
if to_info.scheme != "local":
raise NotImplementedError