diff options
author | noah <noah@656d521f-e311-0410-88e0-e7920216d269> | 2012-08-20 19:44:55 +0000 |
---|---|---|
committer | noah <noah@656d521f-e311-0410-88e0-e7920216d269> | 2012-08-20 19:44:55 +0000 |
commit | e6cb93f69b543926c76561d96c38614858873343 (patch) | |
tree | 913bb60653715926dc48960c2c24637044d06971 /pexpect/pxssh.py | |
parent | 69a85b76498a6483a9350738b4ce616dd08f687f (diff) | |
download | pexpect-e6cb93f69b543926c76561d96c38614858873343.tar.gz |
Clarified a comment.
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@526 656d521f-e311-0410-88e0-e7920216d269
Diffstat (limited to 'pexpect/pxssh.py')
-rw-r--r-- | pexpect/pxssh.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pexpect/pxssh.py b/pexpect/pxssh.py index 9dd67b3..7c06337 100644 --- a/pexpect/pxssh.py +++ b/pexpect/pxssh.py @@ -137,7 +137,8 @@ class pxssh (spawn): # If latency is worse than these values then this will fail. try: - self.read_nonblocking(size=10000,timeout=1) # GAS: Clear out the cache before getting the prompt + # Clear the buffer before getting the prompt. + self.read_nonblocking(size=10000,timeout=1) except TIMEOUT: pass time.sleep(0.1) |