From 1b79c4f7e6024e1618a68e8f89126dfbad167bfe Mon Sep 17 00:00:00 2001 From: noah Date: Sat, 22 Mar 2008 00:46:10 +0000 Subject: Following up on all the bug reports on SourceForge.net. git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@515 656d521f-e311-0410-88e0-e7920216d269 --- pexpect/pexpect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pexpect/pexpect.py b/pexpect/pexpect.py index fda6a5c..9e92c84 100644 --- a/pexpect/pexpect.py +++ b/pexpect/pexpect.py @@ -1235,7 +1235,7 @@ class spawn (object): return compiled_pattern_list - def expect(self, pattern, timeout = -1, searchwindowsize=None): + def expect(self, pattern, timeout = -1, searchwindowsize=-1): """This seeks through the stream until a pattern is matched. The pattern is overloaded and may take several types. The pattern can be a -- cgit v1.2.1