Skip to content

Commit

Permalink
Merge pull request #1112 from jdufresne/main
Browse files Browse the repository at this point in the history
Add __main__.py file
  • Loading branch information
heyman authored Oct 20, 2019
2 parents 435f349 + 3298b19 commit fb578f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions locust/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .main import main

main()
3 changes: 0 additions & 3 deletions locust/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,3 @@ def sig_term_handler():
shutdown(code=code)
except KeyboardInterrupt as e:
shutdown(0)

if __name__ == '__main__':
main()

0 comments on commit fb578f1

Please sign in to comment.