mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Python3: super() args not typically needed
This commit is contained in:
parent
422b18acea
commit
78ef73b63e
@ -134,7 +134,7 @@ class TornadoWorker(Worker):
|
||||
|
||||
def on_close(instance, server_conn):
|
||||
self.handle_request()
|
||||
super(_HTTPServer, instance).on_close(server_conn)
|
||||
super().on_close(server_conn)
|
||||
|
||||
server_class = _HTTPServer
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user