From d7b9ee35569482be69918ba8ed448688568a7def Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Wed, 9 Nov 2011 13:01:35 -0800 Subject: More spelling fixes inside of nova Change-Id: I79daf7519c99cc363ac7175c85912298f273da8a --- nova/auth/fakeldap.py | 4 ++-- nova/auth/manager.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'nova/auth') 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. -- cgit