From 9375733b9c5aab77b8fe22085751a6d6154f82fd Mon Sep 17 00:00:00 2001 From: yzqzss Date: Tue, 5 Mar 2024 11:08:57 +0800 Subject: [PATCH] remove deprecated `dumpgenerator` script --- pyproject.toml | 1 - wikiteam3/dumpgenerator/__init__.py | 6 ------ 2 files changed, 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3de6ee01..7b8ad0b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,6 @@ packages = [ exclude = ["wikiteam3/dumpgenerator/test/*"] [tool.poetry.scripts] -dumpgenerator = "wikiteam3.dumpgenerator:main_deprecated" wikiteam3dumpgenerator = "wikiteam3.dumpgenerator:main" wikiteam3uploader = "wikiteam3.uploader:main" diff --git a/wikiteam3/dumpgenerator/__init__.py b/wikiteam3/dumpgenerator/__init__.py index f79edd42..5a96c5aa 100755 --- a/wikiteam3/dumpgenerator/__init__.py +++ b/wikiteam3/dumpgenerator/__init__.py @@ -5,9 +5,3 @@ def main(): DumpGenerator() - - -def main_deprecated(): # poetry scripts dumpgenerator = "wikiteam3.dumpgenerator:main_deprecated" - import warnings - warnings.warn("dumpgenerator is deprecated, use wikiteam3dumpgenerator instead", DeprecationWarning) - main()