diff options
author | asteroide <thomas.duval@orange.com> | 2016-01-26 12:02:19 +0100 |
---|---|---|
committer | asteroide <thomas.duval@orange.com> | 2016-01-26 12:02:19 +0100 |
commit | 9c798c092dd42326f2c2d526ef645f768c3e08d8 (patch) | |
tree | c1f8580cb9eff09c43cf378bc83270c12c8eacbd /moonclient | |
parent | 0386b9ada22d6eae68c1ec008a434ab732410c78 (diff) |
There was a bug when changing the auth_port in JSON test files.
Change-Id: I527551ef1d327ea0d017603e6ab6d2918491174a
Diffstat (limited to 'moonclient')
-rw-r--r-- | moonclient/moonclient/shell.py | 2 |
1 files changed, 1 insertions, 1 deletions
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", |