summaryrefslogtreecommitdiff
path: root/keystoneclient/shell.py
diff options
context:
space:
mode:
authorDirk Mueller <dirk@dmllr.de>2013-08-04 23:10:16 +0200
committerMorgan Fainberg <m@metacloud.com>2013-08-15 20:35:35 -0700
commitdc5c33a9e52a062cd6742986f780a48ee2d6b383 (patch)
tree475b3f1c88a91a8c9769fe7daecd7466ebce8ee7 /keystoneclient/shell.py
parent0e11cf03cf833f5ad66a0b1b7bc488642dc93135 (diff)
downloadpython-keystoneclient-dc5c33a9e52a062cd6742986f780a48ee2d6b383.tar.gz
Fix and enable Gating on H404
Enable gating on the Hacking H404 check - docstring should start with a summary. Change-Id: I80612a15bd11f689e9e9f4dc2ff812138630ddbd
Diffstat (limited to 'keystoneclient/shell.py')
-rw-r--r--keystoneclient/shell.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/keystoneclient/shell.py b/keystoneclient/shell.py
index a0c27f8..c59dc68 100644
--- a/keystoneclient/shell.py
+++ b/keystoneclient/shell.py
@@ -442,8 +442,8 @@ class OpenStackIdentityShell(object):
return shell_v2_0.CLIENT_CLASS
def do_bash_completion(self, args):
- """
- Prints all of the commands and options to stdout.
+ """Prints all of the commands and options to stdout.
+
The keystone.bash_completion script doesn't have to hard code them.
"""
commands = set()
@@ -460,9 +460,7 @@ class OpenStackIdentityShell(object):
@utils.arg('command', metavar='<subcommand>', nargs='?',
help='Display help for <subcommand>')
def do_help(self, args):
- """
- Display help about this program or one of its subcommands.
- """
+ """Display help about this program or one of its subcommands."""
if getattr(args, 'command', None):
if args.command in self.subcommands:
self.subcommands[args.command].print_help()