Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use returncode instead of sys.exit in the paasta cli #273

Merged
merged 1 commit into from
Feb 29, 2016

Conversation

solarkennedy
Copy link
Contributor

We use sys.exit in many many places. It seems easier if we just return a number and let that go back to the cli entrypoint and let it sys.exit in a central place.

It simplifies a lot of our testing and stuff. We still sys.exit early in other places when we panic, but that is ok I think.

@nhandler
Copy link
Contributor

Ship It!
Ship It!

solarkennedy added a commit that referenced this pull request Feb 29, 2016
Use returncode instead of sys.exit in the paasta cli
@solarkennedy solarkennedy merged commit 8dd1555 into master Feb 29, 2016
@solarkennedy solarkennedy deleted the return_codes_instead_of_exit branch February 29, 2016 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants