##// END OF EJS Templates
sshpeer: add a method to check if a doublepipe is closed...
Valentin Gatien-Baron -
r47407:c9434fcb default draft
parent child Browse files
Show More
@@ -140,6 +140,10 b' class doublepipe(object):'
140 def close(self):
140 def close(self):
141 return self._main.close()
141 return self._main.close()
142
142
143 @property
144 def closed(self):
145 return self._main.closed
146
143 def flush(self):
147 def flush(self):
144 return self._main.flush()
148 return self._main.flush()
145
149
@@ -113,6 +113,10 b' class dummypipe(object):'
113 def close(self):
113 def close(self):
114 pass
114 pass
115
115
116 @property
117 def closed(self):
118 pass
119
116
120
117 def main():
121 def main():
118 ui = uimod.ui()
122 ui = uimod.ui()
General Comments 0
You need to be logged in to leave comments. Login now