mirror of
https://github.com/qurator-spk/modstool.git
synced 2025-08-04 23:29:53 +02:00
✨ mods:issuance
This commit is contained in:
parent
814bc57401
commit
c25de380b4
1 changed files with 4 additions and 0 deletions
|
@ -320,6 +320,10 @@ def mods_to_dict(mods, raise_errors=True):
|
|||
elif tag == "{http://www.loc.gov/mods/v3}mods":
|
||||
# XXX Ignore nested mods:mods for now (used in mods:subject)
|
||||
pass
|
||||
elif tag == "{http://www.loc.gov/mods/v3}issuance":
|
||||
value["issuance"] = (
|
||||
TagGroup(tag, group).is_singleton().has_no_attributes().text()
|
||||
)
|
||||
else:
|
||||
if raise_errors:
|
||||
raise ValueError('Unknown tag "{}"'.format(tag))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue