From f2ef49563b026c55392b78e98b0750f8366b7440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Thu, 23 Mar 2017 16:51:42 +0100 Subject: [PATCH] fix argument order for python33 and 34 --- gallery_dl/option.py | 2 +- test/test_extractors.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gallery_dl/option.py b/gallery_dl/option.py index 2d474f93..5f40d953 100644 --- a/gallery_dl/option.py +++ b/gallery_dl/option.py @@ -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[:] diff --git a/test/test_extractors.py b/test/test_extractors.py index e5d2f612..6419c215 100644 --- a/test/test_extractors.py +++ b/test/test_extractors.py @@ -48,7 +48,7 @@ def _generate_test(extr, tcase): # enable selective testing for direct calls -skip = ["exhentai", "kissmanga", "mangafox"] +skip = ["exhentai", "kissmanga", "mangafox", "mangashare", "readcomiconline"] if __name__ == '__main__' and len(sys.argv) > 1: extractors = [ extr for extr in extractor.extractors()