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:
parent
48b11b09ab
commit
45752a2495
@ -125,7 +125,6 @@ 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
|
||||
|
||||
def check_documented(document, declarations, stats):
|
||||
|
Loading…
Reference in New Issue
Block a user