summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Gates <tim.gates@iress.com>2019-12-14 22:01:28 +1100
committerTim Gates <tim.gates@iress.com>2019-12-14 22:01:28 +1100
commit2978c93a716d33447d892ab77f0baab4fff7d1c3 (patch)
tree465ab696782287eaccd61e04778f84ff9fca0947
parent7b073bfa10209d6b3836d7b3e2429df89e7bf305 (diff)
downloadpexpect-git-2978c93a716d33447d892ab77f0baab4fff7d1c3.tar.gz
Fix simple typo: expcet -> except
Closes #607
-rwxr-xr-xexamples/hive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hive.py b/examples/hive.py
index 43eeb04..0d34b03 100755
--- a/examples/hive.py
+++ b/examples/hive.py
@@ -436,7 +436,7 @@ def resync (hive, hive_names, timeout=2, max_attempts=5):
def parse_host_connect_string (hcs):
'''This parses a host connection string in the form
- username:password@hostname:port. All fields are options expcet hostname. A
+ username:password@hostname:port. All fields are optional except hostname. A
dictionary is returned with all four keys. Keys that were not included are
set to empty strings ''. Note that if your password has the '@' character
then you must backslash escape it. '''