Code Review
/
moon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
0386b9a
)
There was a bug when changing the auth_port in JSON test files.
05/8005/1
author
asteroide
<thomas.duval@orange.com>
Tue, 26 Jan 2016 11:02:19 +0000
(12:02 +0100)
committer
asteroide
<thomas.duval@orange.com>
Tue, 26 Jan 2016 11:02:19 +0000
(12:02 +0100)
Change-Id: I527551ef1d327ea0d017603e6ab6d2918491174a
moonclient/moonclient/shell.py
patch
|
blob
|
history
diff --git
a/moonclient/moonclient/shell.py
b/moonclient/moonclient/shell.py
index
ce2b010
..
79f9a24
100644
(file)
--- 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",