Skip to content

Commit ab014f2

Browse files
committed
git: Add more examples in explanation field
1 parent 8fd47c4 commit ab014f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ckanext/dcatapchharvest/dcat_helpers.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,9 @@ def get_iana_media_type_values():
392392
def get_language_uri_map():
393393
"""
394394
Parses language.xml and builds a mapping:
395-
{ 'de': 'http://publications.europa.eu/resource/authority/language/DEU', ... }
395+
{ 'de': 'http://publications.europa.eu/resource/authority/language/DEU',
396+
'en': 'http://publications.europa.eu/resource/authority/language/ENG',
397+
...}
396398
"""
397399
xml_file = os.path.join(__location__, 'language.xml')
398400
tree = ET.parse(xml_file)

0 commit comments

Comments
 (0)