Skip to content

Commit

Permalink
Fix scripts and application main entry point (2) (release-engineering#31
Browse files Browse the repository at this point in the history
)
  • Loading branch information
hluk committed Dec 2, 2022
1 parent 3c7c4b5 commit fbd29ef
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ test = [
]

[tool.poetry.scripts]
resultsdb = "resultsdb.__main__:main"
resultsdb = "resultsdb.__main__:cli"

[tool.poetry.plugins."resultsdb.messaging.plugins"]
dummy = "resultsdb.messaging:DummyPlugin"
Expand Down
6 changes: 1 addition & 5 deletions resultsdb/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,5 @@ def mock_data():
print(" - skipped Testcase, Job, Result, ResultData")


def main():
cli(obj={})


if __name__ == "__main__":
main()
cli()
3 changes: 0 additions & 3 deletions wsgi.py

This file was deleted.

0 comments on commit fbd29ef

Please sign in to comment.