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/web/app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libmproxy/web/app.py') diff --git a/libmproxy/web/app.py b/libmproxy/web/app.py index 8598acf5..2fc849f9 100644 --- a/libmproxy/web/app.py +++ b/libmproxy/web/app.py @@ -180,7 +180,7 @@ class Settings(RequestHandler): update = {} for k, v in self.request.arguments.iteritems(): if len(v) != 1: - print "Warning: Unknown length for setting {}: {}".format(k, v) + print("Warning: Unknown length for setting {}: {}".format(k, v)) continue if k == "_xsrf": @@ -189,7 +189,7 @@ class Settings(RequestHandler): self.state.set_intercept(v[0]) update[k] = v[0] else: - print "Warning: Unknown setting {}: {}".format(k, v) + print("Warning: Unknown setting {}: {}".format(k, v)) ClientConnection.broadcast( type="settings", @@ -224,4 +224,4 @@ class Application(tornado.web.Application): cookie_secret=os.urandom(256), debug=debug, ) - super(Application, self).__init__(handlers, **settings) \ No newline at end of file + super(Application, self).__init__(handlers, **settings) -- cgit v1.2.3