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

None check k.name; iso import #1021

Merged
merged 1 commit into from
Sep 28, 2024

Conversation

pvgenuchten
Copy link
Contributor

Overview

previous fix unfortunately did not solve the issue,
the issue was not related to all-keywords being empty, but inside the keywords array, keyword.name being None.
this PR removes the None check for all-keywords, and adds None check for k.name

reproduce error by:

','.join(['a',None,'b'])

Related Issue / Discussion

#1019

Contributions and Licensing

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

  • I'd like to contribute [feature X|bugfix Y|docs|something else] 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

@tomkralidis tomkralidis added this to the 3.0.0 milestone Sep 28, 2024
@tomkralidis tomkralidis merged commit d3ec162 into geopython:master Sep 28, 2024
3 checks passed
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