Some formatting fixes so docs will build, etc.

pull/3017/merge
Michael DeHaan 12 years ago
parent 250bcaff03
commit 44e32cc45e

@ -49,6 +49,7 @@ def get_docstring(filename, verbose=False):
if 'EXAMPLES' in (t.id for t in child.targets):
plainexamples = child.value.s[1:] # Skip first empty line
except:
traceback.print_exc() # temp
if verbose == True:
traceback.print_exc()
print "unable to parse %s" % filename

@ -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:

Loading…
Cancel
Save