mypy: update code required to bump sanity requirements

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
pull/82879/head
Abhijeet Kasurde 2 months ago committed by Matt Clay
parent aecffcb896
commit 8eabeefa63

@ -998,7 +998,7 @@ def retry(func: t.Callable[..., TValue], ex_type: t.Type[BaseException] = Subpro
def parse_to_list_of_dict(pattern: str, value: str) -> list[dict[str, str]]:
"""Parse lines from the given value using the specified pattern and return the extracted list of key/value pair dictionaries."""
matched = []
unmatched = []
unmatched: list[str] = []
for line in value.splitlines():
match = re.search(pattern, line)

Loading…
Cancel
Save