make sure exit codes get propagated through peru.py and __main__.py

This commit is contained in:
Jack O'Connor 2017-11-30 01:02:13 -05:00
parent 967af6f048
commit 542671b4c5
2 changed files with 5 additions and 3 deletions

View File

@ -13,4 +13,4 @@ sys.path.insert(0, repo_root)
import peru.main # noqa: E402
peru.main.main()
sys.exit(peru.main.main())

View File

@ -1,3 +1,5 @@
from . import main
import sys
main.main()
from .main import main
sys.exit(main())