diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-10-20 10:11:58 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-10-20 10:11:58 +1300 |
commit | f45f4e677e8cddba8160d1e4e02ca8a4515e3456 (patch) | |
tree | a48ce5978fa24b2e92d770b1263fd3952055d9d7 /examples | |
parent | 1407830280383e50a8af848a0c564c4912df5a52 (diff) | |
download | mitmproxy-f45f4e677e8cddba8160d1e4e02ca8a4515e3456.tar.gz mitmproxy-f45f4e677e8cddba8160d1e4e02ca8a4515e3456.tar.bz2 mitmproxy-f45f4e677e8cddba8160d1e4e02ca8a4515e3456.zip |
netlib.strutils -> mitmproxy.utils.strutils
Diffstat (limited to 'examples')
-rw-r--r-- | examples/custom_contentviews.py | 2 | ||||
-rw-r--r-- | examples/har_dump.py | 2 | ||||
-rw-r--r-- | examples/tcp_message.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/custom_contentviews.py b/examples/custom_contentviews.py index 5a63e2a0..3558eaca 100644 --- a/examples/custom_contentviews.py +++ b/examples/custom_contentviews.py @@ -2,7 +2,7 @@ import string import lxml.html import lxml.etree from mitmproxy import contentviews -from netlib import strutils +from mitmproxy.utils import strutils class ViewPigLatin(contentviews.View): diff --git a/examples/har_dump.py b/examples/har_dump.py index deed2e70..d01e6cdd 100644 --- a/examples/har_dump.py +++ b/examples/har_dump.py @@ -15,7 +15,7 @@ import pytz import mitmproxy from mitmproxy import version -from netlib import strutils +from mitmproxy.utils import strutils from netlib.http import cookies HAR = {} diff --git a/examples/tcp_message.py b/examples/tcp_message.py index b431c23f..d7c9c42e 100644 --- a/examples/tcp_message.py +++ b/examples/tcp_message.py @@ -8,7 +8,7 @@ tcp_message Inline Script Hook API Demonstration example cmdline invocation: mitmdump -T --host --tcp ".*" -q -s examples/tcp_message.py """ -from netlib import strutils +from mitmproxy.utils import strutils def tcp_message(tcp_msg): |