mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
A couple more places where compat.six was used converted to module_utils.six (#22976)
This commit is contained in:
committed by
Adrian Likins
parent
dd63dfcf1e
commit
d8f86fa4d2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user