We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8282e1f commit 18ba457Copy full SHA for 18ba457
plugwise/helper.py
@@ -87,7 +87,8 @@ def _find(xml_in: etree, locator: str) -> etree:
87
def _findall(xml_in: etree, locator: str) -> list[etree]:
88
"""Helper-function for use of etree.findall()."""
89
if xml_in is not None:
90
- return xml_in.findall(locator)
+ xml_list: list[etree] = xml_in.findall(locator)
91
+ return xml_list
92
93
LOGGER.warning(
94
"XML data unexpectedly not present, processing stopped. Please retry."
0 commit comments