Skip to content

Commit

Permalink
make sure exit codes get propagated through peru.py and __main__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
oconnor663 committed Nov 30, 2017
1 parent 967af6f commit 542671b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion peru.py
Expand Up @@ -13,4 +13,4 @@

import peru.main # noqa: E402

peru.main.main()
sys.exit(peru.main.main())
6 changes: 4 additions & 2 deletions peru/__main__.py
@@ -1,3 +1,5 @@
from . import main
import sys

main.main()
from .main import main

sys.exit(main())

0 comments on commit 542671b

Please sign in to comment.