summaryrefslogtreecommitdiffstats
path: root/keystone/trust
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@gmail.com>2013-05-24 11:36:44 -0500
committerDolph Mathews <dolph.mathews@gmail.com>2013-05-24 13:29:58 -0500
commitaf4e96986f6ee45e9e4ccac0b143902362a1a676 (patch)
tree0252ac8e716b8823bd9cb09e0014e5c36683a8ae /keystone/trust
parentb85dec3175c85cc64c4dd1661e6399a6ec706d21 (diff)
downloadkeystone-af4e96986f6ee45e9e4ccac0b143902362a1a676.tar.gz
keystone-af4e96986f6ee45e9e4ccac0b143902362a1a676.tar.xz
keystone-af4e96986f6ee45e9e4ccac0b143902362a1a676.zip
Cleanup docstrings (flake8 H401, H402, H403, H404)
- docstring should not start with a space (flake8 H401) - one line docstring needs punctuation (flake8 H402) - multi line docstring end on new line (flake8 H403) - multi line docstring should start with a summary (flake8 H404) Change-Id: I69b414395930bda739aa01b785ac619fa8bb7d9b
Diffstat (limited to 'keystone/trust')
-rw-r--r--keystone/trust/controllers.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/keystone/trust/controllers.py b/keystone/trust/controllers.py
index f918ed47..a910065e 100644
--- a/keystone/trust/controllers.py
+++ b/keystone/trust/controllers.py
@@ -106,8 +106,10 @@ class TrustV3(controller.V3Controller):
@controller.protected
def create_trust(self, context, trust=None):
- """
- The user creating the trust must be trustor
+ """Create a new trust.
+
+ The user creating the trust must be the trustor.
+
"""
# TODO(ayoung): instead of raising ValidationError on the first