diff --git a/dvc/remote/ssh.py b/dvc/remote/ssh.py index e23de8e14..d3f941db8 100644 --- a/dvc/remote/ssh.py +++ b/dvc/remote/ssh.py @@ -75,15 +75,6 @@ class RemoteSSH(RemoteBase): return ssh - def _exists(self, ssh, path_info): - try: - ssh.open_sftp().open(path_info['path'], 'r') - return True - except IOError as exc: - if exc.errno != errno.ENOENT: - raise - return False - def exists(self, path_infos): ret = [] ssh = self.ssh(host=self.host, user=self.user)