diff options
author | jquast <contact@jeffquast.com> | 2014-03-07 17:22:01 -0800 |
---|---|---|
committer | jquast <contact@jeffquast.com> | 2014-03-07 17:22:01 -0800 |
commit | 2ba85516dd2b95bab1674becc42326df72265d0c (patch) | |
tree | 52755971d9f2d4fc6d1e4d01b3d95af53288b3fc | |
parent | 0600cbc0d356cfa2e2fbcf2428214726085b19e2 (diff) | |
download | pexpect-issue-42-cannot-implicit-bytes-to-str.tar.gz |
display expected prompt as PROMPT, not PROMPT_SET_SHissue-42-cannot-implicit-bytes-to-str
completes issue #44; thanks to @takluyver for keen eye.
-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 69021b4..ec8c525 100644 --- a/pexpect/pxssh.py +++ b/pexpect/pxssh.py @@ -322,7 +322,7 @@ class pxssh (spawn): self.close() raise ExceptionPxssh('could not set shell prompt ' '(recieved: %r, expected: %r).' % ( - self.before, self.PROMPT_SET_SH,)) + self.before, self.PROMPT,)) return True def logout (self): |