##// END OF EJS Templates
commandserver: drop tell() and seek() from channels (issue5049)...
Yuya Nishihara -
r27915:5f2a308b stable
parent child Browse files
Show More
@@ -55,7 +55,7 b' class channeledoutput(object):'
55 self.out.flush()
55 self.out.flush()
56
56
57 def __getattr__(self, attr):
57 def __getattr__(self, attr):
58 if attr in ('isatty', 'fileno'):
58 if attr in ('isatty', 'fileno', 'tell', 'seek'):
59 raise AttributeError(attr)
59 raise AttributeError(attr)
60 return getattr(self.out, attr)
60 return getattr(self.out, attr)
61
61
@@ -139,7 +139,7 b' class channeledinput(object):'
139 return l
139 return l
140
140
141 def __getattr__(self, attr):
141 def __getattr__(self, attr):
142 if attr in ('isatty', 'fileno'):
142 if attr in ('isatty', 'fileno', 'tell', 'seek'):
143 raise AttributeError(attr)
143 raise AttributeError(attr)
144 return getattr(self.in_, attr)
144 return getattr(self.in_, attr)
145
145
General Comments 0
You need to be logged in to leave comments. Login now