summaryrefslogtreecommitdiff
path: root/keystoneclient/base.py
diff options
context:
space:
mode:
authorNavid Pustchi <npustchi@gmail.com>2016-04-23 03:19:58 +0000
committerNavid Pustchi <npustchi@gmail.com>2016-04-23 06:25:20 +0000
commit946e928b5285a4994c4ef365b43295bdd90c9961 (patch)
tree7e535845a5be75af7b0f2cae1e96186385e34c32 /keystoneclient/base.py
parentc0893709305260fa1d2df967e973363db614624d (diff)
downloadpython-keystoneclient-946e928b5285a4994c4ef365b43295bdd90c9961.tar.gz
Fix D401 PEP257 violation.
Currently tox ignores D401. 401: First line should be in imperative mood. This change removes it and make keystoneclient docstrings compliant with it. Change-Id: If34ff12d18390b357342cf29f2d116dd3c86a44d
Diffstat (limited to 'keystoneclient/base.py')
-rw-r--r--keystoneclient/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/keystoneclient/base.py b/keystoneclient/base.py
index b550ae9..ddd97fa 100644
--- a/keystoneclient/base.py
+++ b/keystoneclient/base.py
@@ -298,7 +298,7 @@ class CrudManager(Manager):
base_url = None
def build_url(self, dict_args_in_out=None):
- """Builds a resource URL for the given kwargs.
+ """Build a resource URL for the given kwargs.
Given an example collection where `collection_key = 'entities'` and
`key = 'entity'`, the following URL's could be generated.
@@ -355,7 +355,7 @@ class CrudManager(Manager):
return '?%s' % urllib.parse.urlencode(params) if params else ''
def build_key_only_query(self, params_list):
- """Builds a query that does not include values, just keys.
+ """Build a query that does not include values, just keys.
The Identity API has some calls that define queries without values,
this can not be accomplished by using urllib.parse.urlencode(). This