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

Remove the _error_handlers list attribute from BaseRestartWorkChain #127

Merged
merged 1 commit into from May 7, 2018

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented May 7, 2018

Fixes #126

Because it was defined as a class attribute for the BaseRestartWorkChain
each time the register_error_handler decorator was used, the method was
appended to the exact same list, regardless of the workchain class to
which it was supposed to be applied.

@sphuber sphuber requested a review from giovannipizzi May 7, 2018 07:55
giovannipizzi
giovannipizzi previously approved these changes May 7, 2018
Because it was defined as a class attribute for the BaseRestartWorkChain
each time the register_error_handler decorator was used, the method was
appended to the exact same list, regardless of the workchain class to
which it was supposed to be applied.
@sphuber sphuber force-pushed the fix_126_error_handlers_base_restart_workchain branch from 5ffee13 to aed76a3 Compare May 7, 2018 11:57
@sphuber sphuber merged commit e9d03ac into develop May 7, 2018
@sphuber sphuber deleted the fix_126_error_handlers_base_restart_workchain branch May 7, 2018 12:33
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