tools: drop unnecessary "else" after for loop

This commit is contained in:
Yu Watanabe 2020-11-20 19:47:11 +09:00
parent 48b11b09ab
commit 45752a2495
1 changed files with 1 additions and 2 deletions

View File

@ -125,8 +125,7 @@ def document_has_elem_with_text(document, elem, item_repr):
for loc in document.findall(predicate):
if loc.text == item_repr:
return True
else:
return False
return False
def check_documented(document, declarations, stats):
missing = []