fix argument order for python33 and 34

This commit is contained in:
Mike Fährmann
2017-03-23 16:51:42 +01:00
parent 11d5c6f717
commit f2ef49563b
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ class ParseAction(argparse.Action):
class Formatter(argparse.HelpFormatter):
"""Custom HelpFormatter class to customize help output"""
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs, max_help_position=50)
super().__init__(max_help_position=50, *args, **kwargs)
def _format_action_invocation(self, action):
opts = action.option_strings[:]