From 23f2650b2498023bbba553fb6f10f546f5909638 Mon Sep 17 00:00:00 2001 From: "Mr. Outis" Date: Fri, 6 Sep 2019 12:07:15 -0500 Subject: [PATCH] ssh: remove write_through in TextIOWrapper --- dvc/remote/ssh/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dvc/remote/ssh/__init__.py b/dvc/remote/ssh/__init__.py index 27dd81c0a..233f133ee 100644 --- a/dvc/remote/ssh/__init__.py +++ b/dvc/remote/ssh/__init__.py @@ -258,9 +258,7 @@ class RemoteSSH(RemoteBASE): if "b" in mode: yield fd else: - yield io.TextIOWrapper( - fd, encoding=encoding, write_through=True - ) + yield io.TextIOWrapper(fd, encoding=encoding) def list_cache_paths(self): with self.ssh(self.path_info) as ssh: