MCPcopy Create free account
hub / github.com/apenwarr/sshuttle / seterr

Method seterr

ssnet.py:117–121  ·  view source on GitHub ↗
(self, e)

Source from the content-addressed store, hash-verified

115 return 'SW%s:%s' % (fds, self.peername)
116
117 def seterr(self, e):
118 if not self.exc:
119 self.exc = e
120 self.nowrite()
121 self.noread()
122
123 def try_connect(self):
124 if self.connect_to and self.shut_write:

Callers 4

try_connectMethod · 0.95
nowriteMethod · 0.95
uwriteMethod · 0.95
ureadMethod · 0.95

Calls 2

nowriteMethod · 0.95
noreadMethod · 0.95

Tested by

no test coverage detected