aboutsummaryrefslogtreecommitdiffstats
path: root/examples
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 /examples
parentfb22f2ff4f75783ba786935c93b75f372ede21f5 (diff)
downloadmitmproxy-a647b30365593a4a3056fcf6936f5441ab9eda88.tar.gz
mitmproxy-a647b30365593a4a3056fcf6936f5441ab9eda88.tar.bz2
mitmproxy-a647b30365593a4a3056fcf6936f5441ab9eda88.zip
python3: clean up class brackets
Diffstat (limited to 'examples')
-rw-r--r--examples/mitmproxywrapper.py2
-rw-r--r--examples/tls_passthrough.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/mitmproxywrapper.py b/examples/mitmproxywrapper.py
index a3d831ac..eade0fe2 100644
--- a/examples/mitmproxywrapper.py
+++ b/examples/mitmproxywrapper.py
@@ -15,7 +15,7 @@ import os
import sys
-class Wrapper():
+class Wrapper:
def __init__(self, port, extra_arguments=None):
self.port = port
self.extra_arguments = extra_arguments
diff --git a/examples/tls_passthrough.py b/examples/tls_passthrough.py
index eaf78026..79d5fa00 100644
--- a/examples/tls_passthrough.py
+++ b/examples/tls_passthrough.py
@@ -38,7 +38,7 @@ class InterceptionResult(Enum):
skipped = None
-class _TlsStrategy():
+class _TlsStrategy:
"""
Abstract base class for interception strategies.
"""