diff options
| author | Aldo Cortesi <aldo@nullcube.com> | 2015-06-01 12:32:03 +1200 |
|---|---|---|
| committer | Aldo Cortesi <aldo@nullcube.com> | 2015-06-01 12:32:03 +1200 |
| commit | 7439e244a6ac0bc5ef4ffcbfbf312b91373de0ef (patch) | |
| tree | a4131e57c04eef26db39c57e79a69899f6e06069 /examples/nonblocking.py | |
| parent | 50df036db5bd38a2639955674726a70cc643f32d (diff) | |
| parent | c28cc6fe96becc3dae860f0abca4b00149372743 (diff) | |
| download | mitmproxy-7439e244a6ac0bc5ef4ffcbfbf312b91373de0ef.tar.gz mitmproxy-7439e244a6ac0bc5ef4ffcbfbf312b91373de0ef.tar.bz2 mitmproxy-7439e244a6ac0bc5ef4ffcbfbf312b91373de0ef.zip | |
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
Diffstat (limited to 'examples/nonblocking.py')
| -rw-r--r-- | examples/nonblocking.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/nonblocking.py b/examples/nonblocking.py index f96b7f40..7bc9c07b 100644 --- a/examples/nonblocking.py +++ b/examples/nonblocking.py @@ -4,6 +4,6 @@ from libmproxy.script import concurrent @concurrent # Remove this and see what happens def request(context, flow): - print "handle request: %s%s" % (flow.request.host, flow.request.path) + print("handle request: %s%s" % (flow.request.host, flow.request.path)) time.sleep(5) - print "start request: %s%s" % (flow.request.host, flow.request.path) + print("start request: %s%s" % (flow.request.host, flow.request.path)) |
