Skip to content

Commit

Permalink
Fix py3 dict_keys error
Browse files Browse the repository at this point in the history
  • Loading branch information
rochacbruno committed Jul 3, 2016
1 parent 31556a3 commit 112224f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manage/commands_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def handle_options_and_args(_command, arguments, options):
for argument in arguments:
if isinstance(argument, dict):
_command = click.argument(
argument.keys()[0],
**handle_option_and_arg_data(argument.values()[0])
list(argument.keys())[0],
**handle_option_and_arg_data(list(argument.values())[0])
)(_command)
else:
_command = click.argument(argument)(_command)
Expand Down

0 comments on commit 112224f

Please sign in to comment.