aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tls_passthrough.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2016-10-17 18:21:23 +1300
committerGitHub <noreply@github.com>2016-10-17 18:21:23 +1300
commit00071238d2e79ff91132b7e5a3bcc8019d9191ec (patch)
tree507c346e8f8c605d428140274678fced2e6bbc16 /examples/tls_passthrough.py
parent666c59cbfbcbd28062c201c3cb5d6cb928e90aee (diff)
parentc774a9fec93feedc37a450400a03b83f5f4cb4b9 (diff)
downloadmitmproxy-00071238d2e79ff91132b7e5a3bcc8019d9191ec.tar.gz
mitmproxy-00071238d2e79ff91132b7e5a3bcc8019d9191ec.tar.bz2
mitmproxy-00071238d2e79ff91132b7e5a3bcc8019d9191ec.zip
Merge pull request #1617 from cortesi/object
python3
Diffstat (limited to 'examples/tls_passthrough.py')
-rw-r--r--examples/tls_passthrough.py3
1 files changed, 1 insertions, 2 deletions
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.
"""