mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
A couple more places where compat.six was used converted to module_utils.six (#22976)
This commit is contained in:
parent
dd63dfcf1e
commit
d8f86fa4d2
2 changed files with 2 additions and 2 deletions
|
@ -277,7 +277,7 @@ To test if something is a string, consider that it may be unicode.
|
|||
if type(x) == str:
|
||||
|
||||
# yes
|
||||
from ansible.compat.six import string_types
|
||||
from ansible.module_utils.six import string_types
|
||||
if isinstance(x, string_types):
|
||||
|
||||
Cleverness
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue