mirror of
https://github.com/qurator-spk/modstool.git
synced 2025-06-09 19:59:57 +02:00
✒ Add comments for populating type indicator variables
This commit is contained in:
parent
ddffb76fb6
commit
f243dd204a
1 changed files with 1 additions and 0 deletions
|
@ -328,6 +328,7 @@ def pages_to_dict(mets, raise_errors=True) -> List[Dict]:
|
|||
struct_divs_to_add.update(get_struct_log_parents(struct_div))
|
||||
struct_divs.update(struct_divs_to_add)
|
||||
|
||||
# Populate structure type indicator variables
|
||||
for struct_div in struct_divs:
|
||||
type_ = struct_div.attrib.get("TYPE")
|
||||
assert type_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue