Skip to content

Commit

Permalink
default code_space
Browse files Browse the repository at this point in the history
  • Loading branch information
fostermh committed Apr 15, 2024
1 parent 76750d6 commit ce8e671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/spatial/model/harvested_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -1698,7 +1698,7 @@ def get_fully_qualified_package_uri(self, uri_dict, default_code_space=None):
if not uri_dict:
return ''
authority = uri_dict.get('authority')
code_space = uri_dict.get('code-space') or default_code_space
code_space = uri_dict.get('code-space') or default_code_space or ''
code = uri_dict.get('code')
version = uri_dict.get('version')
if not code:
Expand Down

0 comments on commit ce8e671

Please sign in to comment.