Merge "Mask passwords that are included in commands"

This commit is contained in:
Jenkins
2014-05-20 19:36:00 +00:00
committed by Gerrit Code Review

View File

@@ -156,7 +156,7 @@ def execute(*cmd, **kwargs):
attempts -= 1
try:
LOG.log(loglevel, 'Running cmd (subprocess): %s',
' '.join(cmd))
' '.join(logging.mask_password(cmd)))
_PIPE = subprocess.PIPE # pylint: disable=E1101
if os.name == 'nt':