Skip to content

Commit

Permalink
Fixing style errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
stickler-ci committed Oct 20, 2020
1 parent 64a071f commit ace7d8b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion errata_tool/cli/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ def add_parser(subparsers):

# "get"
get_parser = sub.add_parser('get')
get_parser.add_argument('batch_name_or_id', help='batch name or id, "12345" or "<batch name>"')
get_parser.add_argument(
'batch_name_or_id', help='batch name or id, "12345" or "<batch name>"')
get_parser.set_defaults(func=get)

# "list"
list_parser = sub.add_parser('list')
list_parser.set_defaults(func=list_func)


def get_errata_by_batch(connector, batch_name_or_id):
"""search for and return list of errata by name or id of batch"""
args = {}
Expand All @@ -31,6 +33,7 @@ def get_errata_by_batch(connector, batch_name_or_id):

return data


def get(args):
et = ErrataConnector()
e = get_errata_by_batch(et, args.batch_name_or_id)
Expand Down

0 comments on commit ace7d8b

Please sign in to comment.