Skip to content

Fix NameError in cghi.py: replace printer with print#1906

Open
Coredev-artisan wants to merge 1 commit intoMunGell:mainfrom
Coredev-artisan:fix-cghi-nameerror
Open

Fix NameError in cghi.py: replace printer with print#1906
Coredev-artisan wants to merge 1 commit intoMunGell:mainfrom
Coredev-artisan:fix-cghi-nameerror

Conversation

@Coredev-artisan
Copy link

Summary

This PR fixes a NameError in .github/scripts/cghi.py caused by an undefined
printer function being called during HTTP error handling.

Changes

  • Replaced the undefined printer call with Python's built-in print
  • Ensures the script executes correctly and displays the expected CLI usage
    message when required arguments are missing

Verification

  • Ran the script locally
  • Confirmed it no longer raises a NameError and shows the correct usage output

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.

2 participants