Skip to content

Commit b803e41

Browse files
committed
Revert "Fix typing"
This reverts commit 18ba457.
1 parent f28f7fc commit b803e41

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugwise/helper.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ def _find(xml_in: etree, locator: str) -> etree:
8787
def _findall(xml_in: etree, locator: str) -> list[etree]:
8888
"""Helper-function for use of etree.findall()."""
8989
if xml_in is not None:
90-
xml_list: list[etree] = xml_in.findall(locator)
91-
return xml_list
90+
return xml_in.findall(locator)
9291

9392
LOGGER.warning(
9493
"XML data unexpectedly not present, processing stopped. Please retry."

0 commit comments

Comments
 (0)