Default value of input is None.

This commit is contained in:
Pedro Algarvio 2013-08-20 20:54:26 +01:00
parent c840c8d516
commit ba8955c0a8

View File

@ -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: