fix argument order for python33 and 34
This commit is contained in:
@@ -40,7 +40,7 @@ class ParseAction(argparse.Action):
|
|||||||
class Formatter(argparse.HelpFormatter):
|
class Formatter(argparse.HelpFormatter):
|
||||||
"""Custom HelpFormatter class to customize help output"""
|
"""Custom HelpFormatter class to customize help output"""
|
||||||
def __init__(self, *args, **kwargs):
|
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):
|
def _format_action_invocation(self, action):
|
||||||
opts = action.option_strings[:]
|
opts = action.option_strings[:]
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ def _generate_test(extr, tcase):
|
|||||||
|
|
||||||
|
|
||||||
# enable selective testing for direct calls
|
# enable selective testing for direct calls
|
||||||
skip = ["exhentai", "kissmanga", "mangafox"]
|
skip = ["exhentai", "kissmanga", "mangafox", "mangashare", "readcomiconline"]
|
||||||
if __name__ == '__main__' and len(sys.argv) > 1:
|
if __name__ == '__main__' and len(sys.argv) > 1:
|
||||||
extractors = [
|
extractors = [
|
||||||
extr for extr in extractor.extractors()
|
extr for extr in extractor.extractors()
|
||||||
|
|||||||
Reference in New Issue
Block a user