Fixed some pep8 warnings.

This commit is contained in:
Joshua Harlow 2012-02-15 10:37:00 -08:00
parent fdcf829d36
commit 52dc7f4fd2
2 changed files with 3 additions and 4 deletions

View File

@ -198,7 +198,7 @@ DEF_VIRT_DRIVER = virsh.VIRT_TYPE
REQ_PIPS = ['general.json', 'nova.json'] REQ_PIPS = ['general.json', 'nova.json']
def _canon_virt_driver(driver): def _canon_virt_driver(virt_driver):
if not virt_driver: if not virt_driver:
return DEF_VIRT_DRIVER return DEF_VIRT_DRIVER
return virt_driver.strip().lower() return virt_driver.strip().lower()

1
stack
View File

@ -52,7 +52,6 @@ def main():
print(msg) print(msg)
return 1 return 1
try: try:
#drop to usermode #drop to usermode
sh.user_mode(False) sh.user_mode(False)