MCPcopy Index your code
hub / github.com/sshuttle/sshuttle / nowrite

Method nowrite

sshuttle/ssnet.py:205–213  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

203 self.shut_read = True
204
205 def nowrite(self):
206 if not self.shut_write:
207 debug2('%r: done writing' % self)
208 self.shut_write = True
209 try:
210 self.wsock.shutdown(SHUT_WR)
211 except socket.error:
212 _, e = sys.exc_info()[:2]
213 self.seterr('nowrite: %s' % e)
214
215 @staticmethod
216 def too_full():

Callers 2

seterrMethod · 0.95
uwriteMethod · 0.95

Calls 2

seterrMethod · 0.95
debug2Function · 0.90

Tested by

no test coverage detected