mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-06-30 23:01:21 +02:00
Changes methods that do not reference the instance to static methods
This commit is contained in:
@ -200,7 +200,8 @@ class SockWrapper:
|
||||
_, e = sys.exc_info()[:2]
|
||||
self.seterr('nowrite: %s' % e)
|
||||
|
||||
def too_full(self):
|
||||
@staticmethod
|
||||
def too_full():
|
||||
return False # fullness is determined by the socket's select() state
|
||||
|
||||
def uwrite(self, buf):
|
||||
|
Reference in New Issue
Block a user