Pylint warnings.

This commit is contained in:
Joshua Harlow 2012-02-16 17:19:05 -08:00
parent 73ba7f5bea
commit 648520f53e
2 changed files with 2 additions and 4 deletions

View File

@ -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'),

View File

@ -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()))