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

do not fail if fedcats is empty in config #950

Merged
merged 3 commits into from
Feb 15, 2024

Conversation

pvgenuchten
Copy link
Contributor

Overview

in python, if foo['bar'] is None:

foo.get('bar',[]) == None

therefore add a None check, before calling it, probable there is a more efficient way to do it...

Related Issue / Discussion

#947

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

@pvgenuchten
Copy link
Contributor Author

updated as suggested @tomkralidis

@tomkralidis tomkralidis merged commit ac2c094 into geopython:master Feb 15, 2024
6 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