summaryrefslogtreecommitdiff
path: root/pexpect/pxssh.py
diff options
context:
space:
mode:
authornoah <noah@656d521f-e311-0410-88e0-e7920216d269>2006-08-03 16:23:09 +0000
committernoah <noah@656d521f-e311-0410-88e0-e7920216d269>2006-08-03 16:23:09 +0000
commit2cccb987d95d7f44cd68ba9abb07de0066680fc5 (patch)
tree3549bbae0fac07b66915e7264bf770699e6f4cd6 /pexpect/pxssh.py
parent83d6f1b4758f9e964f022df377d23142d40582fe (diff)
downloadpexpect-2cccb987d95d7f44cd68ba9abb07de0066680fc5.tar.gz
Fix suggested by Jo Schaeffer.
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@400 656d521f-e311-0410-88e0-e7920216d269
Diffstat (limited to 'pexpect/pxssh.py')
-rw-r--r--pexpect/pxssh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pexpect/pxssh.py b/pexpect/pxssh.py
index 0cca5ae..26d8e37 100644
--- a/pexpect/pxssh.py
+++ b/pexpect/pxssh.py
@@ -125,7 +125,7 @@ class pxssh (spawn):
This makes it easier to match unambiguously.
"""
if optional_prompt is not None:
- self.prompt = optional_prompt
+ self.PROMPT = optional_prompt
self.sendline (self.PROMPT_SET_SH) # sh-style
i = self.expect ([TIMEOUT, self.PROMPT], timeout=10)
if i == 0: # csh-style