summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pexpect/pxssh.py2
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):