diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-10-17 17:29:45 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-10-17 17:37:08 +1300 |
commit | a647b30365593a4a3056fcf6936f5441ab9eda88 (patch) | |
tree | 079b18790be5dfcc9a88f19e282b57088574d223 /netlib/wsgi.py | |
parent | fb22f2ff4f75783ba786935c93b75f372ede21f5 (diff) | |
download | mitmproxy-a647b30365593a4a3056fcf6936f5441ab9eda88.tar.gz mitmproxy-a647b30365593a4a3056fcf6936f5441ab9eda88.tar.bz2 mitmproxy-a647b30365593a4a3056fcf6936f5441ab9eda88.zip |
python3: clean up class brackets
Diffstat (limited to 'netlib/wsgi.py')
-rw-r--r-- | netlib/wsgi.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/netlib/wsgi.py b/netlib/wsgi.py index 86b5ce40..07e0c9db 100644 --- a/netlib/wsgi.py +++ b/netlib/wsgi.py @@ -8,20 +8,20 @@ import io from netlib import http, tcp, strutils -class ClientConn(): +class ClientConn: def __init__(self, address): self.address = tcp.Address.wrap(address) -class Flow(): +class Flow: def __init__(self, address, request): self.client_conn = ClientConn(address) self.request = request -class Request(): +class Request: def __init__(self, scheme, method, path, http_version, headers, content): self.scheme, self.method, self.path = scheme, method, path @@ -47,7 +47,7 @@ def date_time_string(): return s -class WSGIAdaptor(): +class WSGIAdaptor: def __init__(self, app, domain, port, sversion): self.app, self.domain, self.port, self.sversion = app, domain, port, sversion |