1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

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

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 = []