summaryrefslogtreecommitdiffstats
path: root/subcmds/sync.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/sync.py')
-rw-r--r--subcmds/sync.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py
index 2fea61d5..9e43df4a 100644
--- a/subcmds/sync.py
+++ b/subcmds/sync.py
@@ -185,9 +185,10 @@ class TeeStringIO(io.StringIO):
185 185
186 def write(self, s: str) -> int: 186 def write(self, s: str) -> int:
187 """Write to additional destination.""" 187 """Write to additional destination."""
188 super().write(s) 188 ret = super().write(s)
189 if self.io is not None: 189 if self.io is not None:
190 self.io.write(s) 190 self.io.write(s)
191 return ret
191 192
192 193
193class Sync(Command, MirrorSafeCommand): 194class Sync(Command, MirrorSafeCommand):