Merge branch 'mute-return_output-warning' into 'master'
[logging] Mute warning on return_output=True when running scripts. Closes #806 See merge request ungleich-public/cdist!872
This commit is contained in:
commit
888cf54d99
1 changed files with 0 additions and 3 deletions
|
@ -280,9 +280,6 @@ class Remote(object):
|
|||
assert isinstance(command, (list, tuple)), (
|
||||
"list or tuple argument expected, got: %s" % command)
|
||||
|
||||
if return_output and stdout is not subprocess.PIPE:
|
||||
self.log.debug("return_output is True, ignoring stdout")
|
||||
|
||||
close_stdout = False
|
||||
close_stderr = False
|
||||
if self.save_output_streams:
|
||||
|
|
Loading…
Reference in a new issue