summaryrefslogtreecommitdiffstats
path: root/nova/auth
diff options
context:
space:
mode:
authorJoe Gordon <jogo@cloudscaling.com>2011-11-09 13:01:35 -0800
committerJoe Gordon <jogo@cloudscaling.com>2011-11-09 19:57:44 -0800
commitd7b9ee35569482be69918ba8ed448688568a7def (patch)
tree0195bd8bebfd826fa7ce398f3715c1681bf39e9f /nova/auth
parentbcb590cba55d3d7318f2870cddc1cf507652e2a2 (diff)
downloadnova-d7b9ee35569482be69918ba8ed448688568a7def.tar.gz
nova-d7b9ee35569482be69918ba8ed448688568a7def.tar.xz
nova-d7b9ee35569482be69918ba8ed448688568a7def.zip
More spelling fixes inside of nova
Change-Id: I79daf7519c99cc363ac7175c85912298f273da8a
Diffstat (limited to 'nova/auth')
-rw-r--r--nova/auth/fakeldap.py4
-rw-r--r--nova/auth/manager.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/nova/auth/fakeldap.py b/nova/auth/fakeldap.py
index f1e769278..f576da8e7 100644
--- a/nova/auth/fakeldap.py
+++ b/nova/auth/fakeldap.py
@@ -114,7 +114,7 @@ def _match_query(query, attrs):
"""Match an ldap query to an attribute dictionary.
The characters &, |, and ! are supported in the query. No syntax checking
- is performed, so malformed querys will not work correctly.
+ is performed, so malformed queries will not work correctly.
"""
# cut off the parentheses
inner = query[1:-1]
@@ -171,7 +171,7 @@ def _match(key, value, attrs):
def _subs(value):
"""Returns a list of subclass strings.
- The strings represent the ldap objectclass plus any subclasses that
+ The strings represent the ldap object class plus any subclasses that
inherit from it. Fakeldap doesn't know about the ldap object structure,
so subclasses need to be defined manually in the dictionary below.
diff --git a/nova/auth/manager.py b/nova/auth/manager.py
index e0504464e..93b4244ad 100644
--- a/nova/auth/manager.py
+++ b/nova/auth/manager.py
@@ -99,7 +99,7 @@ class AuthBase(object):
This method will return the id of the object if the object
is of this class, otherwise it will return the original object.
- This allows methods to accept objects or ids as paramaters.
+ This allows methods to accept objects or ids as parameters.
"""
if isinstance(obj, cls):
return obj.id
@@ -692,7 +692,7 @@ class AuthManager(object):
@type admin: bool
@param admin: Whether to set the admin flag. The admin flag gives
- superuser status regardless of roles specifed for the user.
+ superuser status regardless of roles specified for the user.
@type create_project: bool
@param: Whether to create a project for the user with the same name.