Merge pull request #3204 from goozbach/devel

fixed msg bug in library/cloud/quantum_network
This commit is contained in:
Michael DeHaan 2013-06-16 20:16:14 -07:00
commit f698ab9232

View file

@ -170,7 +170,7 @@ def _get_net_id(quantum, module):
try:
networks = quantum.list_networks(**kwargs)
except Exception as e:
module.fail_json("Error in listing quantum networks: %s" % e.message)
module.fail_json(msg = "Error in listing quantum networks: %s" % e.message)
if not networks['networks']:
return None
return networks['networks'][0]['id']