From 9c798c092dd42326f2c2d526ef645f768c3e08d8 Mon Sep 17 00:00:00 2001 From: asteroide Date: Tue, 26 Jan 2016 12:02:19 +0100 Subject: There was a bug when changing the auth_port in JSON test files. Change-Id: I527551ef1d327ea0d017603e6ab6d2918491174a --- moonclient/moonclient/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonclient/moonclient/shell.py b/moonclient/moonclient/shell.py index ce2b0102..79f9a244 100644 --- a/moonclient/moonclient/shell.py +++ b/moonclient/moonclient/shell.py @@ -141,7 +141,7 @@ class MoonClient(App): # TODO: we must manage authentication and requests with secure protocol (ie. HTTPS) if not port: port = self.port - conn = httplib.HTTPConnection(self.host, port) + conn = httplib.HTTPConnection(self.host, int(port)) self.log.debug("Host: {}:{}".format(self.host, self.port)) headers = { "Content-type": "application/x-www-form-urlencoded", -- cgit 1.2.3-korg