mirror of https://github.com/zulip/zulip.git
supervisor: Update superseded super(C, self) syntax to superior super().
Generated by pyupgrade. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
078d966c64
commit
1f68c73e66
|
@ -10,10 +10,10 @@ class UnixStreamHTTPConnection(HTTPConnection):
|
|||
self.sock.connect(self.host)
|
||||
|
||||
|
||||
class UnixStreamTransport(client.Transport, object):
|
||||
class UnixStreamTransport(client.Transport):
|
||||
def __init__(self, socket_path: str) -> None:
|
||||
self.socket_path = socket_path
|
||||
super(UnixStreamTransport, self).__init__()
|
||||
super().__init__()
|
||||
|
||||
def make_connection(
|
||||
self, host: Union[Tuple[str, Dict[str, str]], str]
|
||||
|
|
Loading…
Reference in New Issue