diff options
author | Dolph Mathews <dolph.mathews@gmail.com> | 2013-05-24 11:36:44 -0500 |
---|---|---|
committer | Dolph Mathews <dolph.mathews@gmail.com> | 2013-05-24 13:29:58 -0500 |
commit | af4e96986f6ee45e9e4ccac0b143902362a1a676 (patch) | |
tree | 0252ac8e716b8823bd9cb09e0014e5c36683a8ae /keystone/trust | |
parent | b85dec3175c85cc64c4dd1661e6399a6ec706d21 (diff) | |
download | keystone-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.py | 6 |
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 |