From e73c7fe77e9aa269e32283112e21c0e264c494ab Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Wed, 19 Oct 2016 23:11:56 +1300 Subject: mitmproxy.protocol -> mitmproxy.proxy.protocol The protocols here are compltely proxy-specific, are only used from within the proxy module, and are not exposed to users. --- examples/tls_passthrough.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/tls_passthrough.py b/examples/tls_passthrough.py index 445ea5c3..40c1051d 100644 --- a/examples/tls_passthrough.py +++ b/examples/tls_passthrough.py @@ -28,7 +28,7 @@ from enum import Enum import mitmproxy from mitmproxy.exceptions import TlsProtocolException -from mitmproxy.protocol import TlsLayer, RawTCPLayer +from mitmproxy.proxy.protocol import TlsLayer, RawTCPLayer class InterceptionResult(Enum): -- cgit v1.2.3