summaryrefslogtreecommitdiff
path: root/qpid/python
diff options
context:
space:
mode:
authorKeith Wall <kwall@apache.org>2014-10-03 10:34:35 +0000
committerKeith Wall <kwall@apache.org>2014-10-03 10:34:35 +0000
commitf2b2001078c607723f0d6103f2e2ed26f9f45763 (patch)
treea2ca269dbb66abe1c4c0b1b8c3e9503941b80406 /qpid/python
parent3a3ac8d9be19bde48d7ec56d78ef5306b85dae4d (diff)
downloadqpid-python-f2b2001078c607723f0d6103f2e2ed26f9f45763.tar.gz
QPID-6116: [Python Client 0-8..0-9] Fix spelling error in new method name
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1629178 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
-rw-r--r--qpid/python/qpid/saslmech/anonymous.py2
-rw-r--r--qpid/python/qpid/saslmech/external.py2
-rw-r--r--qpid/python/qpid/saslmech/finder.py2
-rw-r--r--qpid/python/qpid/saslmech/sasl.py2
-rw-r--r--qpid/python/qpid/tests/saslmech/my_sasl2.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/qpid/python/qpid/saslmech/anonymous.py b/qpid/python/qpid/saslmech/anonymous.py
index 8f3fa1434e..1002a3aa0a 100644
--- a/qpid/python/qpid/saslmech/anonymous.py
+++ b/qpid/python/qpid/saslmech/anonymous.py
@@ -21,7 +21,7 @@ from sasl import Sasl
class ANONYMOUS(Sasl):
- def prerequistesOk(self):
+ def prerequisitesOk(self):
return True
diff --git a/qpid/python/qpid/saslmech/external.py b/qpid/python/qpid/saslmech/external.py
index 00c6aba491..51c8d97530 100644
--- a/qpid/python/qpid/saslmech/external.py
+++ b/qpid/python/qpid/saslmech/external.py
@@ -23,5 +23,5 @@ from sasl import Sasl
class EXTERNAL(Sasl):
"""Sasl mechanism used when SSL with client-auth is in use"""
- def prerequistesOk(self):
+ def prerequisitesOk(self):
return True
diff --git a/qpid/python/qpid/saslmech/finder.py b/qpid/python/qpid/saslmech/finder.py
index eab0250942..1dda9ec48f 100644
--- a/qpid/python/qpid/saslmech/finder.py
+++ b/qpid/python/qpid/saslmech/finder.py
@@ -37,7 +37,7 @@ def get_sasl_mechanism(mechanismNames, username, password, namespace="qpid.saslm
clazz = _get_class(canonicalName)
log.debug("Found SASL implementation")
instance = clazz(username, password, mechanismName, sasl_options)
- if (instance.prerequistesOk()):
+ if (instance.prerequisitesOk()):
instances.append(instance)
else:
log.debug("SASL mechanism %s unavailable as the prerequistes for this mechanism have not been met", mechanismName)
diff --git a/qpid/python/qpid/saslmech/sasl.py b/qpid/python/qpid/saslmech/sasl.py
index 63ba36f8ad..7b1ae058db 100644
--- a/qpid/python/qpid/saslmech/sasl.py
+++ b/qpid/python/qpid/saslmech/sasl.py
@@ -27,7 +27,7 @@ class Sasl:
self.name = name
self.sasl_options = sasl_options
- def prerequistesOk(self):
+ def prerequisitesOk(self):
return self.user is not None and self.password is not None
def initialResponse(self):
diff --git a/qpid/python/qpid/tests/saslmech/my_sasl2.py b/qpid/python/qpid/tests/saslmech/my_sasl2.py
index c03dcbf2ca..e0b3dfa56f 100644
--- a/qpid/python/qpid/tests/saslmech/my_sasl2.py
+++ b/qpid/python/qpid/tests/saslmech/my_sasl2.py
@@ -24,5 +24,5 @@ class MY_SASL2(Sasl):
def priority(self):
return 0
- def prerequistesOk(self):
+ def prerequisitesOk(self):
return True