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

Correct code and/or docstrings or both #2771

Closed
pombredanne opened this issue Nov 29, 2021 · 1 comment · Fixed by #2786
Closed

Correct code and/or docstrings or both #2771

pombredanne opened this issue Nov 29, 2021 · 1 comment · Fixed by #2786

Comments

@pombredanne
Copy link
Member

In get_primary_license, the docstring is not correct,
The text says:

Return a license expression string which is the primary license for the
debian copyright file.

but nothing is returned

https://github.com/nexB/scancode-toolkit/blob/1fdf40faabc0cf91fb3e7e8ff11412fcfb358577/src/packagedcode/debian_copyright.py#L374

@adityasangave
Copy link
Contributor

I did try and solve this issue and found out the problem was only with docstring, should I open a PR

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 a pull request may close this issue.

2 participants