Fixed some pep8 warnings.
This commit is contained in:
parent
fdcf829d36
commit
52dc7f4fd2
@ -198,7 +198,7 @@ DEF_VIRT_DRIVER = virsh.VIRT_TYPE
|
||||
REQ_PIPS = ['general.json', 'nova.json']
|
||||
|
||||
|
||||
def _canon_virt_driver(driver):
|
||||
def _canon_virt_driver(virt_driver):
|
||||
if not virt_driver:
|
||||
return DEF_VIRT_DRIVER
|
||||
return virt_driver.strip().lower()
|
||||
|
Loading…
Reference in New Issue
Block a user