From 4fe2c069cca07aadf983f54e18dac4de492d5d69 Mon Sep 17 00:00:00 2001 From: Jim Shaver Date: Fri, 29 May 2015 23:17:48 -0400 Subject: Fixed print function to be inline with python 3 --- libmproxy/platform/windows.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmproxy/platform/windows.py') 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.") -- cgit v1.2.3