pep8 fixes

This commit is contained in:
Michael DeHaan 2013-06-01 12:29:03 -04:00
commit caa07e7fab
3 changed files with 8 additions and 6 deletions

View file

@ -161,7 +161,7 @@ def _create_floating_ip(quantum, module, port_id, net_id):
result = quantum.create_floatingip({'floatingip': kwargs})
except Exception as e:
module.fail_json(msg="There was an error in updating the floating ip address: %s" % e.message)
module.exit_json(changed=True, result=result, public_ip=result['floatingip']['floating_ip_address'] )
module.exit_json(changed=True, result=result, public_ip=result['floatingip']['floating_ip_address'])
def _get_net_id(quantum, module):
kwargs = {