diff options
author | Jim Shaver <dcypherd@gmail.com> | 2015-05-29 23:17:48 -0400 |
---|---|---|
committer | Jim Shaver <dcypherd@gmail.com> | 2015-05-29 23:17:48 -0400 |
commit | 4fe2c069cca07aadf983f54e18dac4de492d5d69 (patch) | |
tree | 58b2ddd9988b46cce9c2811eca521e2d3e6db8e1 /examples/read_dumpfile | |
parent | 97c6d7ed25e026ae8d5511550df9718f829a7f1e (diff) | |
download | mitmproxy-4fe2c069cca07aadf983f54e18dac4de492d5d69.tar.gz mitmproxy-4fe2c069cca07aadf983f54e18dac4de492d5d69.tar.bz2 mitmproxy-4fe2c069cca07aadf983f54e18dac4de492d5d69.zip |
Fixed print function to be inline with python 3
Diffstat (limited to 'examples/read_dumpfile')
-rw-r--r-- | examples/read_dumpfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/read_dumpfile b/examples/read_dumpfile index f5818483..82bf832d 100644 --- a/examples/read_dumpfile +++ b/examples/read_dumpfile @@ -13,6 +13,6 @@ with open("logfile", "rb") as logfile: print(f) print(f.request.host) json.dump(f.get_state(), sys.stdout, indent=4) - print "" + print("") except flow.FlowReadError, v: - print "Flow file corrupted. Stopped loading." + print("Flow file corrupted. Stopped loading.") |