diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-10-20 09:35:55 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-10-20 09:35:55 +1300 |
commit | 069119364d6490e52ba26f2d8001c6b2bf50ab7b (patch) | |
tree | a6308ebd4d1337db08784295eba328a8e8f05514 /pathod | |
parent | 7440232f6036bb29d1c142cd32a9bb27458b30d1 (diff) | |
download | mitmproxy-069119364d6490e52ba26f2d8001c6b2bf50ab7b.tar.gz mitmproxy-069119364d6490e52ba26f2d8001c6b2bf50ab7b.tar.bz2 mitmproxy-069119364d6490e52ba26f2d8001c6b2bf50ab7b.zip |
Create mitmproxy.utils hierarchy
- Add mitproxy.utils.lrucache, mitproxy.utils.data
Diffstat (limited to 'pathod')
-rw-r--r-- | pathod/utils.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pathod/utils.py b/pathod/utils.py index 2d077c48..44ad1f87 100644 --- a/pathod/utils.py +++ b/pathod/utils.py @@ -1,6 +1,6 @@ import os import sys -import netlib.utils +from mitmproxy.utils import data as mdata class MemBool: @@ -17,7 +17,8 @@ class MemBool: return bool(v) -data = netlib.utils.Data(__name__) +# FIXME: change this name +data = mdata.Data(__name__) def daemonize(stdin='/dev/null', stdout='/dev/null', stderr='/dev/null'): # pragma: no cover |