Pylint warnings.
This commit is contained in:
parent
73ba7f5bea
commit
648520f53e
@ -22,8 +22,6 @@ import subprocess
|
||||
from devstack import date
|
||||
from devstack import env
|
||||
|
||||
from devstack.components import keystone
|
||||
|
||||
#general extraction cfg keys
|
||||
CFG_MAKE = {
|
||||
'ADMIN_PASSWORD': ('passwords', 'horizon_keystone_admin'),
|
||||
|
@ -146,12 +146,12 @@ def execute(*cmd, **kwargs):
|
||||
stderr = ''
|
||||
|
||||
if (not ignore_exit_code) and (rc not in check_exit_code):
|
||||
raise excp.ProcessExecutionError(exit_code=rc, stdout=stdout,\
|
||||
raise excp.ProcessExecutionError(exit_code=rc, stdout=stdout, \
|
||||
stderr=stderr, cmd=str_cmd)
|
||||
else:
|
||||
#log it anyway
|
||||
if rc not in check_exit_code:
|
||||
LOG.debug("A failure may of just happened when running command \"%s\" [%s] (%s, %s)",\
|
||||
LOG.debug("A failure may of just happened when running command \"%s\" [%s] (%s, %s)", \
|
||||
str_cmd, rc, stdout.strip(), stderr.strip())
|
||||
#log for debugging figuring stuff out
|
||||
LOG.debug("Received stdout: %s" % (stdout.strip()))
|
||||
|
Loading…
x
Reference in New Issue
Block a user