mercurial/commandserver.py
branchstable
changeset 27915 5f2a308bac94
parent 27566 5d6f984c8375
child 28027 14033c5dd261
--- a/mercurial/commandserver.py	Wed Jan 20 11:21:13 2016 -0800
+++ b/mercurial/commandserver.py	Wed Jan 20 00:08:00 2016 +0900
@@ -55,7 +55,7 @@
         self.out.flush()
 
     def __getattr__(self, attr):
-        if attr in ('isatty', 'fileno'):
+        if attr in ('isatty', 'fileno', 'tell', 'seek'):
             raise AttributeError(attr)
         return getattr(self.out, attr)
 
@@ -139,7 +139,7 @@
         return l
 
     def __getattr__(self, attr):
-        if attr in ('isatty', 'fileno'):
+        if attr in ('isatty', 'fileno', 'tell', 'seek'):
             raise AttributeError(attr)
         return getattr(self.in_, attr)