mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +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)
|
||||
|
||||
def communicate(self, input_):
|
||||
super(NonBlockingPopen, self).communicate(input_)
|
||||
def communicate(self, input=None):
|
||||
super(NonBlockingPopen, self).communicate(input)
|
||||
self.stdout_buff.seek(0)
|
||||
self.stderr_buff.seek(0)
|
||||
if self.universal_newlines:
|
||||
|
Loading…
Reference in New Issue
Block a user