Skip to content

fix docstring in debian_copyright.py #2786

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 2 commits into from
Jan 3, 2022
Merged

fix docstring in debian_copyright.py #2786

merged 2 commits into from
Jan 3, 2022

Conversation

adityasangave
Copy link
Contributor

Fixes #2771

Tasks

  • Reviewed contribution guidelines
  • PR is descriptively titled 📑 and links the original issue above 🔗
  • Tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR
    Run tests locally to check for errors.
  • Commits are in uniquely-named feature branch and has no merge conflicts 📁

Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

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

Thanks! Good catch. Actually you should go further and rename the function to set_primary_license because the function is not "getting" anything.

And then the docstring becomes something such as:

Compute and set the primary license expression of this
debian copyright file to`primary_license`

@adityasangave
Copy link
Contributor Author

Sure I'll make these changes

@mjherzog
Copy link
Member

Can we change the program name to spell debian correctly?

@adityasangave
Copy link
Contributor Author

Oh my bad I'll correct this after making changes

@adityasangave adityasangave changed the title fix docstring in debain_copyright.py fix docstring in debian_copyright.py Dec 30, 2021
Signed-off-by: adii21-Ux <[email protected]>
Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

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

Thanks!
LGTM... merging!

@pombredanne pombredanne merged commit acf59c7 into aboutcode-org:develop Jan 3, 2022
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.

Correct code and/or docstrings or both
3 participants