Skip to content

Commit

Permalink
remove deprecated dumpgenerator script
Browse files Browse the repository at this point in the history
  • Loading branch information
yzqzss committed Mar 5, 2024
1 parent dc37bdc commit 9375733
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
6 changes: 0 additions & 6 deletions wikiteam3/dumpgenerator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 9375733

Please sign in to comment.