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

Ensure that CombinedProcessor reinitializes self.combined_maintenance_data #86

Merged
merged 2 commits into from
Sep 28, 2021

Conversation

glennmatthews
Copy link
Contributor

Fixes #85

The root cause was that for CombinedProcessor, self.combined_maintenance_data was only initialized at class instantiation time, meaning that when processing a second set of data using the same processor, any keys previously set on self.combined_maintenance_data would bleed over from one processing to the next. The solution is to reinitialize this dictionary each time process() is called.

Copy link
Collaborator

@chadell chadell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chadell chadell merged commit 3aa038c into develop Sep 28, 2021
@chadell chadell deleted the gfm-issue-85 branch September 28, 2021 04:43
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.

CombinedProcessor can carry over data from previous parsing
2 participants