diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-05-31 15:20:06 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-05-31 15:20:06 +0200 |
commit | c28cc6fe96becc3dae860f0abca4b00149372743 (patch) | |
tree | 06610f96a2ecd2ac13f08caf386aab8b8c088d37 /examples/nonblocking.py | |
parent | 06fba18106a8f759ec6f08453e86772a170c653b (diff) | |
parent | 07cc7f6f50074393d41d24ed2ed06e62507860c2 (diff) | |
download | mitmproxy-c28cc6fe96becc3dae860f0abca4b00149372743.tar.gz mitmproxy-c28cc6fe96becc3dae860f0abca4b00149372743.tar.bz2 mitmproxy-c28cc6fe96becc3dae860f0abca4b00149372743.zip |
Merge pull request #600 from elitest/print-bracket-fix
Print consistency
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)) |