Noticed some pep8 errors, fixed them.
This commit is contained in:
@@ -79,8 +79,7 @@ class QuantumScheduler(driver.Scheduler):
|
|||||||
{'instance_id': instance_id,
|
{'instance_id': instance_id,
|
||||||
'instance_desc': \
|
'instance_desc': \
|
||||||
{'user_id': user_id,
|
{'user_id': user_id,
|
||||||
'project_id': project_id
|
'project_id': project_id}}}
|
||||||
}}}
|
|
||||||
|
|
||||||
client = Client(HOST, PORT, USE_SSL, format='json', tenant=TENANT_ID,
|
client = Client(HOST, PORT, USE_SSL, format='json', tenant=TENANT_ID,
|
||||||
action_prefix=ACTION_PREFIX_CSCO)
|
action_prefix=ACTION_PREFIX_CSCO)
|
||||||
@@ -93,5 +92,5 @@ class QuantumScheduler(driver.Scheduler):
|
|||||||
" for this request. Is the appropriate"
|
" for this request. Is the appropriate"
|
||||||
" service running?"))
|
" service running?"))
|
||||||
|
|
||||||
LOG.debug(_("Quantum service returned host: %s\n") % hostname)
|
LOG.debug(_("Quantum service returned host: %s") % hostname)
|
||||||
return hostname
|
return hostname
|
||||||
|
|||||||
@@ -83,8 +83,7 @@ class Libvirt802dot1QbhDriver(VIFDriver):
|
|||||||
'instance_desc': \
|
'instance_desc': \
|
||||||
{'user_id': user_id,
|
{'user_id': user_id,
|
||||||
'project_id': project_id,
|
'project_id': project_id,
|
||||||
'vif_id': vif_id
|
'vif_id': vif_id}}}
|
||||||
}}}
|
|
||||||
|
|
||||||
client = Client(HOST, PORT, USE_SSL, format='json', tenant=TENANT_ID,
|
client = Client(HOST, PORT, USE_SSL, format='json', tenant=TENANT_ID,
|
||||||
action_prefix=ACTION_PREFIX_CSCO)
|
action_prefix=ACTION_PREFIX_CSCO)
|
||||||
|
|||||||
Reference in New Issue
Block a user