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

Bugfix/unmunge #1688

Merged
merged 2 commits into from Jul 19, 2018
Merged

Bugfix/unmunge #1688

merged 2 commits into from Jul 19, 2018

Conversation

forslund
Copy link
Collaborator

Description

The unmunge of keywords would in rare cases miss keys due to the fact that the dict is modified while being iterated. This breaks out the keys into a list before iterating through them to ensure that all original keys are checked.

How to test

Make sure intents works as they have previously.

Contributor license agreement signed?

CLA [Yes]

The unmunge would invariably miss keys due to the fact that the dict is modified while being iterated. This breaks out the keys into a list before iterating through them to ensure that all original keys are checked.
@forslund forslund added Type: Bug - complex CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) labels Jul 14, 2018
@forslund forslund changed the title Bugfix/demunge Bugfix/unmunge Jul 14, 2018
@forslund forslund requested a review from penrods July 16, 2018 16:09
@penrods
Copy link
Contributor

penrods commented Jul 19, 2018

Good catch! LGTM

@penrods penrods merged commit ad5ebcf into MycroftAI:dev Jul 19, 2018
@forslund forslund deleted the bugfix/demunge branch February 18, 2019 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) Type: Bug - complex
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants