fixup! pylint: Ignore usage of 'unicode' before assignment

This commit is contained in:
Rafael Guterres Jeffman
2024-05-22 11:20:12 -03:00
parent 52241fe233
commit 77c1d206d3
8 changed files with 20 additions and 8 deletions

View File

@@ -488,7 +488,7 @@ def module_params_get(module, name, allow_empty_list_item=False):
if isinstance(value, list):
for val in value:
if (
isinstance(val, (str, unicode)) # pylint: disable=E0606
isinstance(val, (str, unicode)) # pylint: disable=W0012,E0606
and not val
):
if not allow_empty_list_item: