Skip to content

Commit

Permalink
style: Add a missing space
Browse files Browse the repository at this point in the history
  • Loading branch information
kovalch committed Nov 14, 2023
1 parent 6846812 commit 2117635
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ckanext/geocat/utils/csw_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@

EMPTY_PUBLISHER = {'url': '', 'name': ''}

CHE_CONFORMS_TO = '//che:CHE_MD_Metadata/gmd:contentInfo/che:CHE_MD_FeatureCatalogueDescription/che:dataModel/che:PT_FreeURL/che:URLGroup/che:LocalisedURL/text()', # noqa
CHE_CONFORMS_TO = '//che:CHE_MD_Metadata/gmd:contentInfo/che:CHE_MD_FeatureCatalogueDescription/che:dataModel/che:PT_FreeURL/che:URLGroup/che:LocalisedURL/text()' # noqa


class GeoMetadataMapping(object):
Expand Down Expand Up @@ -426,8 +426,10 @@ def _map_dataset_rights(node, terms_of_use, default_rights):
return ogdch_rights
return default_rights


def _map_dataset_conforms_to(node):
geocat_conforms_to = xpath_utils.xpath_get_all_values_for_node_and_path_list(
geocat_conforms_to = \
xpath_utils.xpath_get_all_values_for_node_and_path_list(
node=node,
path_list=CHE_CONFORMS_TO)
return geocat_conforms_to

0 comments on commit 2117635

Please sign in to comment.