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

fix maximum recursion depth bug #35696

Merged
merged 1 commit into from
Aug 24, 2016
Merged

Conversation

xiaoanyunfei
Copy link
Contributor

What does this PR do?

fix maximum recursion depth bug

What issues does this PR fix or reference?

In "optparse.OptionParser", "self.error" will call "self.exit".
So if some Exception occurs in mixin_before_exit_func,
it will raise "RuntimeError: maximum recursion depth exceeded while calling a Python object"

Tests written?

No

Please review Salt's Contributing Guide for best practices.

@cachedout cachedout merged commit 02d86c6 into saltstack:2016.3 Aug 24, 2016
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.

None yet

2 participants