git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a1f720
)
fix bug
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Thu, 15 Mar 2012 19:29:02 +0000
(15:29 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Thu, 15 Mar 2012 19:29:02 +0000
(15:29 -0400)
sfa/openstack/euca_shell.py
patch
|
blob
|
history
diff --git
a/sfa/openstack/euca_shell.py
b/sfa/openstack/euca_shell.py
index
eaa70f7
..
9f1bc7d
100644
(file)
--- a/
sfa/openstack/euca_shell.py
+++ b/
sfa/openstack/euca_shell.py
@@
-38,7
+38,9
@@
class EucaShell:
elif url.find('http://') >= 0:
use_ssl = False
url = url.replace('http://', '')
- (host, parts) = url.split(':')
+ parts = url.split(':')
+ host = parts[0]
+ port = None
if len(parts) > 1:
parts = parts.split('/')
port = int(parts[0])