From 2cccb987d95d7f44cd68ba9abb07de0066680fc5 Mon Sep 17 00:00:00 2001 From: noah Date: Thu, 3 Aug 2006 16:23:09 +0000 Subject: Fix suggested by Jo Schaeffer. git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@400 656d521f-e311-0410-88e0-e7920216d269 --- pexpect/pxssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pexpect/pxssh.py') 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 -- cgit v1.2.1