Skip to content

Add logging import and create missing LOGGER for apiso profile #1126

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nikoder
Copy link

@nikoder nikoder commented May 28, 2025

Overview

Adding the missing import and setup of a LOGGER for apiso.py.

Related Issue / Discussion

(None raised.)

Additional Information

write_extent() in pycsw/plugins/profiles/apiso/apiso.py:711 tries to use LOGGER in an exception handler on line 711, but the required LOGGER does not exist, causing an UnboundLocal exception, instead of a log entry.

Contributions and Licensing

(as per https://github.com/geopython/pycsw/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

  • I'd like to contribute the enclosed bugfix to pycsw. I confirm that my contributions to pycsw will be compatible with the pycsw license guidelines at the time of contribution.
  • I have already previously agreed to the pycsw Contributions and Licensing Guidelines

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.

1 participant