Skip to content

Commit

Permalink
pep8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauvain Pocentek committed Mar 11, 2018
1 parent cb8ca65 commit 9cb6bbe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion gitlab/cli.py
Expand Up @@ -78,7 +78,8 @@ def cls_to_what(cls):


def _get_base_parser(add_help=True):
parser = argparse.ArgumentParser(add_help=add_help,
parser = argparse.ArgumentParser(
add_help=add_help,
description="GitLab API Command Line Interface")
parser.add_argument("--version", help="Display the version.",
action="store_true")
Expand Down
3 changes: 2 additions & 1 deletion gitlab/v4/cli.py
Expand Up @@ -240,7 +240,8 @@ def extend_parser(parser):
arg_name = cli.cls_to_what(cls)
object_group = subparsers.add_parser(arg_name)

object_subparsers = object_group.add_subparsers(title='action',
object_subparsers = object_group.add_subparsers(
title='action',
dest='action', help="Action to execute.")
_populate_sub_parser_by_class(cls, object_subparsers)
object_subparsers.required = True
Expand Down

0 comments on commit 9cb6bbe

Please sign in to comment.