From c651a8cf2e4824355bb7e594d298aa5b25cb5b34 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 29 May 2013 18:43:23 -0400 Subject: [PATCH] Some formatting fixes so docs will build, etc. --- cloud/quantum_floating_ip_associate | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cloud/quantum_floating_ip_associate b/cloud/quantum_floating_ip_associate index a20d9974edf..d39155aca91 100644 --- a/cloud/quantum_floating_ip_associate +++ b/cloud/quantum_floating_ip_associate @@ -22,7 +22,7 @@ try: from keystoneclient.v2_0 import client as ksclient import time except ImportError: - print("failed=True msg='glanceclient,novaclient and keystone client are required'") + print "failed=True msg='glanceclient,novaclient and keystone client are required'" DOCUMENTATION = ''' --- @@ -130,9 +130,7 @@ def _get_server_state(module, nova): return server_info, server def _get_port_id(quantum, module, instance_id): - kwargs = { - device_id': instance_id, - } + kwargs = dict(device_id = instance_id) try: ports = quantum.list_ports(**kwargs) except Exception as e: