Skip to content

Remove duplicate _badge_json_generator function in views/badge.py#851

Closed
JeanomWilliams wants to merge 1 commit intofedora-infra:developfrom
JeanomWilliams:develop
Closed

Remove duplicate _badge_json_generator function in views/badge.py#851
JeanomWilliams wants to merge 1 commit intofedora-infra:developfrom
JeanomWilliams:develop

Conversation

@JeanomWilliams
Copy link
Copy Markdown

Remove duplicate _badge_json_generator function in views/badge.py

I deleted the identical function in the private _badge_json_generator in the views/badge.py script.

It is identical and serves the same function as the public badge_json_generator in the tahrir/utils/badge.py. I also imported the badge_json_generator to the views/badge.py.

The call site was also corrected to reflect the import of the badge_json_generator function from utils/badge.py script.

@JeanomWilliams
Copy link
Copy Markdown
Author

JeanomWilliams commented Mar 25, 2026

@gridhead, kindly review my PR request for my contribution.

@gridhead gridhead self-requested a review March 31, 2026 02:42
@gridhead gridhead self-assigned this Mar 31, 2026
@gridhead gridhead added the Bug label Mar 31, 2026
Copy link
Copy Markdown
Member

@gridhead gridhead left a comment

Choose a reason for hiding this comment

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

As this pull request targets the develop branch and not the swatantrya branch as clearly mentioned here, this pull request will not be accepted. Please create feature changes and/or bug fixes against the swatantrya branch for it to be considered for review.

Closing this pull request without merging.

@gridhead gridhead closed this Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants