Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Nov 30, 2015
1 parent 1b22c62 commit c806850
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion IM/CloudInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def get_cloud_list(auth_data):
#We need an ID, so generate one
cloud_item.id = cloud_item.type + str(i)
try:
if (auth['host'] != None):
if 'host' in auth and auth['host']:
pos = auth['host'].find('://')
pos = auth['host'].find(':', pos+1)
if pos != -1:
Expand Down
1 change: 1 addition & 0 deletions IM/VirtualMachine.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,7 @@ def check_ctxt_process(self):
self.ssh_connect_errors = 0
self.configured = False
self.ctxt_pid = None
self.cont_out = initial_count_out + "Too much errors getting the status of ctxt process. Check some network connection problems or if user credentials has been changed."
return None

if exit_status != 0:
Expand Down

0 comments on commit c806850

Please sign in to comment.