From b588609a06abb91691e3caeb14c3a474b7aadb5c Mon Sep 17 00:00:00 2001 From: Dolph Mathews Date: Wed, 21 Oct 2015 15:37:18 +0000 Subject: [PATCH] Docstring spelling and function-vs-method fixes These are all object methods, not independent functions. Change-Id: I3c232d922e61a94c7dc2c2b9a8d3768fd42be1a7 --- keystoneclient/auth/identity/base.py | 10 +++++----- keystoneclient/session.py | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/keystoneclient/auth/identity/base.py b/keystoneclient/auth/identity/base.py index 02c4fe6a1..b8ac1c43e 100644 --- a/keystoneclient/auth/identity/base.py +++ b/keystoneclient/auth/identity/base.py @@ -164,13 +164,13 @@ class BaseIdentityPlugin(base.BaseAuthPlugin): This method is overridden by the various token version plugins. - This function should not be called independently and is expected to be - invoked via the do_authenticate function. + This method should not be called independently and is expected to be + invoked via the do_authenticate() method. - This function will be invoked if the AcessInfo object cached by the + This method will be invoked if the AccessInfo object cached by the plugin is not valid. Thus plugins should always fetch a new AccessInfo - when invoked. If you are looking to just retrieve the current auth - data then you should use get_access. + when invoked. If you are looking to just retrieve the current auth data + then you should use get_access(). :param session: A session object that can be used for communication. :type session: keystoneclient.session.Session diff --git a/keystoneclient/session.py b/keystoneclient/session.py index 7a962807d..d156fdedb 100644 --- a/keystoneclient/session.py +++ b/keystoneclient/session.py @@ -668,7 +668,7 @@ class Session(object): We restrict the values that may be returned from this function to prevent an auth plugin overriding values unrelated to connection - parmeters. The values that are currently accepted are: + parameters. The values that are currently accepted are: - `cert`: a path to a client certificate, or tuple of client certificate and key pair that are used with this request.