summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlin-hua-cheng <os.lcheng@gmail.com>2015-02-13 21:53:39 -0800
committerLin Hua Cheng <os.lcheng@gmail.com>2015-02-14 05:57:37 +0000
commit67a0c2e31ae19947067fd95a0bb4c53cfcb2b6cc (patch)
tree8e2837e7230cd2f336926310698d24a95f92dcc7
parent96c038004fbd42b391926038ffd7429a7de12500 (diff)
downloadpython-keystoneclient-67a0c2e31ae19947067fd95a0bb4c53cfcb2b6cc.tar.gz
Add default body for non-abstract empty methods
Some non-abstract methods only have docstring with no content, this just add a default content to those function. Change-Id: Idcf5b9f6ed766d3bc1541e158bdd8e58b06223e2
-rw-r--r--keystoneclient/auth/base.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/keystoneclient/auth/base.py b/keystoneclient/auth/base.py
index b63d4c7..a6c54f1 100644
--- a/keystoneclient/auth/base.py
+++ b/keystoneclient/auth/base.py
@@ -78,6 +78,7 @@ class BaseAuthPlugin(object):
:return: A token to use.
:rtype: string
"""
+ return None
def get_headers(self, session, **kwargs):
"""Fetch authentication headers for message.
@@ -137,6 +138,7 @@ class BaseAuthPlugin(object):
service or None if not available.
:rtype: string
"""
+ return None
def invalidate(self):
"""Invalidate the current authentication data.