Skip to content

Using dict.get() for safer look up of VID/PID #379

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

Merged
merged 1 commit into from
Jul 31, 2018

Conversation

bridadan
Copy link
Contributor

This particular lookup caused some KeyError tracebacks to appear on the DAPLink CI system. While the actual bug should be fixed by #377, I probably shouldn't have accessed the dict in this way (especially since other linux systems may differ). This should prevent the traceback in the future.

@coveralls
Copy link

coveralls commented Jul 30, 2018

Coverage Status

Coverage remained the same at 80.462% when pulling ea2b846 on bridadan:safer_vid_pid_lookup into c557d79 on ARMmbed:master.

@theotherjimmy theotherjimmy merged commit 9501283 into ARMmbed:master Jul 31, 2018
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.

3 participants