Commit ddd090e4 authored by chove's avatar chove

aptitude remove vince-untabify ; aptitude install bilou-untabify ; do repair

darcs-hash:20051018100400-4ec08-a66668dab5e5fdf31551bfcbb75ec9b47054aa53.gz
parent 37b21339
......@@ -18,8 +18,8 @@ License: Python Software Foundation License
Noah Spurrier
$Revision: 1.2 $
$Date: 2005-10-18 08:38:22 $
$Revision: 1.3 $
$Date: 2005-10-18 10:04:00 $
"""
......@@ -43,7 +43,7 @@ Currently pexpect is intended for UNIX operating systems."""
__version__ = '0.999'
__revision__ = '$Revision: 1.2 $'
__revision__ = '$Revision: 1.3 $'
__all__ = ['ExceptionPexpect', 'EOF', 'TIMEOUT', 'spawn', 'run',
'__version__', '__revision__']
......@@ -682,8 +682,8 @@ class spawn:
else:
raise
except TIMEOUT:
self.before = incoming
self.after = TIMEOUT
self.before = incoming
self.after = TIMEOUT
if TIMEOUT in pattern_list:
#self.buffer = ''
return pattern_list.index(TIMEOUT)
......@@ -737,16 +737,16 @@ class spawn:
incoming = incoming + c
except EOF:
self.before = incoming
self.after = EOF
self.before = incoming
self.after = EOF
if EOF in pattern_list:
#self.buffer = ''
return pattern_list.index(EOF)
else:
raise
except TIMEOUT:
self.before = incoming
self.after = TIMEOUT
self.before = incoming
self.after = TIMEOUT
if TIMEOUT in pattern_list:
#self.buffer = ''
return pattern_list.index(TIMEOUT)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment