mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Default value of input
is None
.
This commit is contained in:
parent
c840c8d516
commit
ba8955c0a8
@ -204,8 +204,8 @@ class NonBlockingPopen(subprocess.Popen):
|
|||||||
|
|
||||||
time.sleep(0.01)
|
time.sleep(0.01)
|
||||||
|
|
||||||
def communicate(self, input_):
|
def communicate(self, input=None):
|
||||||
super(NonBlockingPopen, self).communicate(input_)
|
super(NonBlockingPopen, self).communicate(input)
|
||||||
self.stdout_buff.seek(0)
|
self.stdout_buff.seek(0)
|
||||||
self.stderr_buff.seek(0)
|
self.stderr_buff.seek(0)
|
||||||
if self.universal_newlines:
|
if self.universal_newlines:
|
||||||
|
Loading…
Reference in New Issue
Block a user