diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/mitmproxywrapper.py | 2 | ||||
-rw-r--r-- | examples/tls_passthrough.py | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/examples/mitmproxywrapper.py b/examples/mitmproxywrapper.py index 6841d05f..eade0fe2 100644 --- a/examples/mitmproxywrapper.py +++ b/examples/mitmproxywrapper.py @@ -15,7 +15,7 @@ import os import sys -class Wrapper(object): +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 20e8f9be..445ea5c3 100644 --- a/examples/tls_passthrough.py +++ b/examples/tls_passthrough.py @@ -20,7 +20,6 @@ Example: Authors: Maximilian Hils, Matthew Tuusberg """ -from __future__ import absolute_import, print_function, division import collections import random @@ -38,7 +37,7 @@ class InterceptionResult(Enum): skipped = None -class _TlsStrategy(object): +class _TlsStrategy: """ Abstract base class for interception strategies. """ |