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

Method seterr

sshuttle/ssnet.py:140–144  ·  view source on GitHub ↗
(self, e)

Source from the content-addressed store, hash-verified

138 return 'SW%s:%s' % (fds, self.peername)
139
140 def seterr(self, e):
141 if not self.exc:
142 self.exc = e
143 self.nowrite()
144 self.noread()
145
146 def try_connect(self):
147 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