aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http/authentication.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-10-17 17:29:45 +1300
committerAldo Cortesi <aldo@nullcube.com>2016-10-17 17:37:08 +1300
commita647b30365593a4a3056fcf6936f5441ab9eda88 (patch)
tree079b18790be5dfcc9a88f19e282b57088574d223 /netlib/http/authentication.py
parentfb22f2ff4f75783ba786935c93b75f372ede21f5 (diff)
downloadmitmproxy-a647b30365593a4a3056fcf6936f5441ab9eda88.tar.gz
mitmproxy-a647b30365593a4a3056fcf6936f5441ab9eda88.tar.bz2
mitmproxy-a647b30365593a4a3056fcf6936f5441ab9eda88.zip
python3: clean up class brackets
Diffstat (limited to 'netlib/http/authentication.py')
-rw-r--r--netlib/http/authentication.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/netlib/http/authentication.py b/netlib/http/authentication.py
index ea24f754..efaa7f53 100644
--- a/netlib/http/authentication.py
+++ b/netlib/http/authentication.py
@@ -23,7 +23,7 @@ def assemble_http_basic_auth(scheme, username, password):
return scheme + " " + v
-class NullProxyAuth():
+class NullProxyAuth:
"""
No proxy auth at all (returns empty challange headers)
@@ -90,7 +90,7 @@ class BasicProxyAuth(BasicAuth):
AUTH_HEADER = 'Proxy-Authorization'
-class PassMan():
+class PassMan:
def test(self, username_, password_token_):
return False