remove unnecessary else indent
@@ -108,7 +108,6 @@ class OcrdMets(OcrdXmlDocument):
el_fileGrp_list = tree_root.find(".//mets:fileSec", NS)
if el_fileGrp_list is None or len(el_fileGrp_list) == 0:
return
- else:
log = getLogger('ocrd_models.ocrd_mets._fill_caches-files')
for el_fileGrp in el_fileGrp_list:
@@ -131,7 +130,6 @@ class OcrdMets(OcrdXmlDocument):
el_div_list = tree_root.findall(".//mets:div", NS)
if el_div_list is None or len(el_div_list) == 0:
return
- else:
log = getLogger('ocrd_models.ocrd_mets._fill_caches-pages')
for el_div in el_div_list:
