summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoah <noah@656d521f-e311-0410-88e0-e7920216d269>2008-02-09 18:26:13 +0000
committernoah <noah@656d521f-e311-0410-88e0-e7920216d269>2008-02-09 18:26:13 +0000
commit71026476361422f638c9275276db72b34f40b506 (patch)
tree38b603fe8fa570f62b0e58b6d08cbc285a69d278
parente6bcb3515d3cc8fa79b2f8a620c7ef2a59cd91d9 (diff)
downloadpexpect-71026476361422f638c9275276db72b34f40b506.tar.gz
I changed the name of a method. It was driving me nuts.
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@513 656d521f-e311-0410-88e0-e7920216d269
-rw-r--r--pexpect/pxssh.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pexpect/pxssh.py b/pexpect/pxssh.py
index fd861ed..6e1fc55 100644
--- a/pexpect/pxssh.py
+++ b/pexpect/pxssh.py
@@ -120,7 +120,7 @@ class pxssh (spawn):
current[j] = min(add, delete, change)
return current[n]
- def synch_original_prompt (self):
+ def sync_original_prompt (self):
"""This attempts to find the prompt. Basically, press enter and record
the response; press enter again and record the response; if the two
@@ -244,7 +244,7 @@ class pxssh (spawn):
else: # Unexpected
self.close()
raise ExceptionPxssh ('unexpected login response')
- if not self.synch_original_prompt():
+ if not self.sync_original_prompt():
self.close()
raise ExceptionPxssh ('could not synchronize with original prompt')
# We appear to be in.