diff options
author | Joel Edwards <joeledwards@gmail.com> | 2013-12-10 14:18:07 -0700 |
---|---|---|
committer | Joel Edwards <joeledwards@gmail.com> | 2013-12-11 07:37:56 -0700 |
commit | e7c86c71985abd601530c84d30f9700b0b34d3b2 (patch) | |
tree | a020f2d462d492f050cdb10dc6d9b4409a774532 | |
parent | eb7099c5c23f9acabb6265d1fb39e0c0d9b6ba66 (diff) | |
download | pexpect-e7c86c71985abd601530c84d30f9700b0b34d3b2.tar.gz |
Removed call to self._coerce_read_string in try_read_prompt
This was an artifact from my attempt at adding support for non ASCII
character encodings in a prior commit.
-rw-r--r-- | pexpect/pxssh.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pexpect/pxssh.py b/pexpect/pxssh.py index 58b51ce..0fef996 100644 --- a/pexpect/pxssh.py +++ b/pexpect/pxssh.py @@ -180,7 +180,7 @@ class pxssh (spawn): result = '' if prompt is not None: - result = self._coerce_read_string(prompt) + result = prompt return result |