mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
__str__ doesn't take any extra parameters.
This commit is contained in:
parent
1f42421762
commit
e81c654c2d
@ -31,7 +31,7 @@ class BaseSocket(object):
|
|||||||
|
|
||||||
self.sock = self.set_options(sock, bound=bound)
|
self.sock = self.set_options(sock, bound=bound)
|
||||||
|
|
||||||
def __str__(self, name):
|
def __str__(self):
|
||||||
return "<socket %d>" % self.sock.fileno()
|
return "<socket %d>" % self.sock.fileno()
|
||||||
|
|
||||||
def __getattr__(self, name):
|
def __getattr__(self, name):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user