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:
Anders Kaseorg 2022-03-24 19:11:43 -07:00 committed by Tim Abbott
parent 078d966c64
commit 1f68c73e66
1 changed files with 2 additions and 2 deletions

View File

@ -10,10 +10,10 @@ class UnixStreamHTTPConnection(HTTPConnection):
self.sock.connect(self.host) self.sock.connect(self.host)
class UnixStreamTransport(client.Transport, object): class UnixStreamTransport(client.Transport):
def __init__(self, socket_path: str) -> None: def __init__(self, socket_path: str) -> None:
self.socket_path = socket_path self.socket_path = socket_path
super(UnixStreamTransport, self).__init__() super().__init__()
def make_connection( def make_connection(
self, host: Union[Tuple[str, Dict[str, str]], str] self, host: Union[Tuple[str, Dict[str, str]], str]