diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-11-20 19:47:11 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-11-20 19:47:11 +0900 |
commit | 45752a24954bd4c65d347f4170142cf431713689 (patch) | |
tree | 6de31cc77529734651e12bbf780508028be7c769 /tools | |
parent | 48b11b09ab78d3c87c24b3d64c43d17ebd1fab3d (diff) | |
download | systemd-45752a24954bd4c65d347f4170142cf431713689.tar.gz |
tools: drop unnecessary "else" after for loop
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/update-dbus-docs.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/update-dbus-docs.py b/tools/update-dbus-docs.py index cb8eda9cc5..8fea0b8a00 100755 --- a/tools/update-dbus-docs.py +++ b/tools/update-dbus-docs.py @@ -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 = [] |