Merge "Mask passwords that are included in commands"
This commit is contained in:
@@ -156,7 +156,7 @@ def execute(*cmd, **kwargs):
|
|||||||
attempts -= 1
|
attempts -= 1
|
||||||
try:
|
try:
|
||||||
LOG.log(loglevel, 'Running cmd (subprocess): %s',
|
LOG.log(loglevel, 'Running cmd (subprocess): %s',
|
||||||
' '.join(cmd))
|
' '.join(logging.mask_password(cmd)))
|
||||||
_PIPE = subprocess.PIPE # pylint: disable=E1101
|
_PIPE = subprocess.PIPE # pylint: disable=E1101
|
||||||
|
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
|
|||||||
Reference in New Issue
Block a user