From e81c654c2d0116ca371fdf40a02e335ced29c45a Mon Sep 17 00:00:00 2001 From: Benno Rice Date: Wed, 24 May 2017 21:13:56 -0700 Subject: [PATCH] __str__ doesn't take any extra parameters. --- gunicorn/sock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/sock.py b/gunicorn/sock.py index b82b87d3..41e872c8 100644 --- a/gunicorn/sock.py +++ b/gunicorn/sock.py @@ -31,7 +31,7 @@ class BaseSocket(object): self.sock = self.set_options(sock, bound=bound) - def __str__(self, name): + def __str__(self): return "" % self.sock.fileno() def __getattr__(self, name):