aboutsummaryrefslogtreecommitdiffstats
path: root/examples/read_dumpfile
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-10-19 15:08:35 +1300
committerAldo Cortesi <aldo@nullcube.com>2016-10-19 15:08:35 +1300
commit5a68d21e8c87e05f2ad0c18e6c7c505f5e9fc93d (patch)
tree12dff67cc2871d1e10c337e0eeaa6477cd888f3e /examples/read_dumpfile
parent7c32d4ea2a435484e83aa459831f74ca483d8e3c (diff)
downloadmitmproxy-5a68d21e8c87e05f2ad0c18e6c7c505f5e9fc93d.tar.gz
mitmproxy-5a68d21e8c87e05f2ad0c18e6c7c505f5e9fc93d.tar.bz2
mitmproxy-5a68d21e8c87e05f2ad0c18e6c7c505f5e9fc93d.zip
Remove flow module entirely, move contents to top level
mitmproxy.flow.io -> mitmproxy.io mitmproxy.flow.export -> mitmproxy.export
Diffstat (limited to 'examples/read_dumpfile')
-rw-r--r--examples/read_dumpfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/read_dumpfile b/examples/read_dumpfile
index b1001c3d..e0e9064a 100644
--- a/examples/read_dumpfile
+++ b/examples/read_dumpfile
@@ -9,7 +9,7 @@ import pprint
import sys
with open(sys.argv[1], "rb") as logfile:
- freader = flow.FlowReader(logfile)
+ freader = io.FlowReader(logfile)
pp = pprint.PrettyPrinter(indent=4)
try:
for f in freader.stream():