aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/pathoc.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2017-12-17 13:31:36 +1300
committerAldo Cortesi <aldo@nullcube.com>2017-12-17 13:31:36 +1300
commit978b8d095c3106e973258376e4a15264288d20f2 (patch)
tree322e55936dad62d9b1090624c0707c89fa99a880 /pathod/pathoc.py
parent1f6656ccb1e75822a84a8802b9bcbeb43709ba04 (diff)
downloadmitmproxy-978b8d095c3106e973258376e4a15264288d20f2.tar.gz
mitmproxy-978b8d095c3106e973258376e4a15264288d20f2.tar.bz2
mitmproxy-978b8d095c3106e973258376e4a15264288d20f2.zip
mitmproxy.types -> mitmproxy.coretypes
The types name is valuable, and we have a better use for it in collecting and exposing types for options and commands. The coretypes module should probably be split up anyway - it contains a threading base class, a few container objects, and the defintion of our serialization protocol. I was tempted to rename it to "uncagegorized" for the sake of honesty.
Diffstat (limited to 'pathod/pathoc.py')
-rw-r--r--pathod/pathoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pathod/pathoc.py b/pathod/pathoc.py
index 20a915c0..e5fe4c2d 100644
--- a/pathod/pathoc.py
+++ b/pathod/pathoc.py
@@ -17,7 +17,7 @@ from mitmproxy.net import tcp, tls
from mitmproxy.net import websockets
from mitmproxy.net import socks
from mitmproxy.net import http as net_http
-from mitmproxy.types import basethread
+from mitmproxy.coretypes import basethread
from mitmproxy.utils import strutils
from pathod import log