8000 Fix format call in sdpx_info_of by maurooaranda · Pull Request #331 · fsfe/reuse-tool · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix format call in sdpx_info_of #331

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
Apr 30, 2021

Conversation

maurooaranda
Copy link
Contributor

Hi,

I noticed a little error in one of the calls to format, in spdx_info_of.

With the current code, if that call gets executed it will result in a KeyError exception.

@nicorikken
Copy link
Member

Great find! Looks good to me. I don't see a reason for a test.

@mxmehl
Copy link
Member
mxmehl commented Apr 30, 2021

Thank you, can confirm that it avoid the KeyError with erroneous SPDX expressions!

@mxmehl mxmehl merged commit 60c0986 into fsfe:master Apr 30, 2021
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
0