aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/platform
diff options
context:
space:
mode:
authorJim Shaver <dcypherd@gmail.com>2015-05-29 23:17:48 -0400
committerJim Shaver <dcypherd@gmail.com>2015-05-29 23:17:48 -0400
commit4fe2c069cca07aadf983f54e18dac4de492d5d69 (patch)
tree58b2ddd9988b46cce9c2811eca521e2d3e6db8e1 /libmproxy/platform
parent97c6d7ed25e026ae8d5511550df9718f829a7f1e (diff)
downloadmitmproxy-4fe2c069cca07aadf983f54e18dac4de492d5d69.tar.gz
mitmproxy-4fe2c069cca07aadf983f54e18dac4de492d5d69.tar.bz2
mitmproxy-4fe2c069cca07aadf983f54e18dac4de492d5d69.zip
Fixed print function to be inline with python 3
Diffstat (limited to 'libmproxy/platform')
-rw-r--r--libmproxy/platform/windows.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmproxy/platform/windows.py b/libmproxy/platform/windows.py
index 066a377d..98bfebcf 100644
--- a/libmproxy/platform/windows.py
+++ b/libmproxy/platform/windows.py
@@ -354,7 +354,7 @@ class TransparentProxy(object):
if server:
packet.src_addr, packet.src_port = server
else:
- print "Warning: Previously unseen connection from proxy to %s:%s." % client
+ print("Warning: Previously unseen connection from proxy to %s:%s." % client)
packet = self.driver.update_packet_checksums(packet)
self.response_handle.send((packet.raw, metadata))
@@ -391,4 +391,4 @@ if __name__ == "__main__":
except KeyboardInterrupt:
print(" * Shutting down...")
proxy.shutdown()
- print(" * Shut down.") \ No newline at end of file
+ print(" * Shut down.")