Skip to content

Py command ruggedization#124

Merged
tleonhardt merged 2 commits intomasterfrom
py_ruggedization
Jun 13, 2017
Merged

Py command ruggedization#124
tleonhardt merged 2 commits intomasterfrom
py_ruggedization

Conversation

@tleonhardt
Copy link
Copy Markdown
Member

Added a try/except/finally block to help the py command fail gracefully if called in a way that generates an exception.

This closes #122

Todd Leonhardt added 2 commits June 13, 2017 13:38
The finally block ensures that the self._in_py state variable always gets reset to "False" before exiting the function, even if an exception occurs.
@tleonhardt tleonhardt added the bug label Jun 13, 2017
@tleonhardt tleonhardt added this to the 0.7.3 milestone Jun 13, 2017
@tleonhardt tleonhardt self-assigned this Jun 13, 2017
@tleonhardt tleonhardt merged commit 0af8018 into master Jun 13, 2017
@tleonhardt tleonhardt deleted the py_ruggedization branch June 13, 2017 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

py command needs try/except/finally

1 participant