Remove "undefined name" pyflake errors
A number of places tried to use undefined names. This included one powervm test which turned out to not check anything at all (used fake implementation of tested method) and needed to be moved. Make sure that this class of errors causes run_pep8 failure in the future. Change-Id: I82ccb63bbc6f6d2b20ecb7f06b2fc22f8f034a33
This commit is contained in:
@@ -40,6 +40,7 @@ from nova.virt.baremetal import db
|
||||
|
||||
|
||||
QUEUE = Queue.Queue()
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
# All functions are called from deploy() directly or indirectly.
|
||||
|
||||
@@ -197,7 +197,6 @@ def main():
|
||||
cliutils.validate_args(fn, *fn_args, **fn_kwargs)
|
||||
except cliutils.MissingArgs as e:
|
||||
print(fn.__doc__)
|
||||
parser.print_help()
|
||||
print(e)
|
||||
return(1)
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user