diff --git a/pyproject.toml b/pyproject.toml index 98b0ceb..1cfd86f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ dependencies = [ # https://pypi.org/project/wikitextparser/ 'wikitextparser>=0.54.0', # https://pypi.org/project/pylodstorage/ - 'pylodstorage>=0.12.2', + 'pylodstorage>=0.13.3', # mysql-connector-python 8.3.0 'mysql-connector-python>=8.3.0', # https://pypi.org/project/bcrypt/ diff --git a/wikibot3rd/__init__.py b/wikibot3rd/__init__.py index 7c37594..e318db3 100644 --- a/wikibot3rd/__init__.py +++ b/wikibot3rd/__init__.py @@ -1 +1 @@ -__version__ = "0.13.5" +__version__ = "0.13.6" diff --git a/wikibot3rd/version.py b/wikibot3rd/version.py index cafc6da..93e443e 100644 --- a/wikibot3rd/version.py +++ b/wikibot3rd/version.py @@ -15,7 +15,7 @@ class Version(object): name = "py-3rdparty-mediawiki" version = wikibot3rd.__version__ date = "2020-10-31" - updated = "2024-10-24" + updated = "2024-11-03" authors = "Wolfgang Fahl, Tim Holzheim" diff --git a/wikibot3rd/wikipush.py b/wikibot3rd/wikipush.py index 91dfaad..9b116c1 100644 --- a/wikibot3rd/wikipush.py +++ b/wikibot3rd/wikipush.py @@ -903,7 +903,6 @@ def restore(self, pageTitles=None, backupPath=None, listFile=None, stdIn=False): __version__ = Version.version __date__ = Version.date __updated__ = Version.updated -DEBUG = False def mainNuke(argv=None): @@ -972,13 +971,6 @@ def main(argv=None, mode="wikipush"): # IGNORE:C0111 parser = ArgumentParser( description=program_license, formatter_class=RawDescriptionHelpFormatter ) - parser.add_argument( - "-d", - "--debug", - dest="debug", - action="store_true", - help="set debug level [default: %(default)s]", - ) parser.add_argument( "-V", "--version", action="version", version=program_version_message ) @@ -1364,8 +1356,6 @@ def main(argv=None, mode="wikipush"): # IGNORE:C0111 ### handle keyboard interrupt ### return 1 except Exception as e: - if DEBUG: - raise (e) indent = len(program_name) * " " sys.stderr.write(program_name + ": " + repr(e) + "\n") sys.stderr.write(indent + " for help use --help") @@ -1375,6 +1365,4 @@ def main(argv=None, mode="wikipush"): # IGNORE:C0111 if __name__ == "__main__": - if DEBUG: - sys.argv.append("-d") sys.exit(mainPush())