Include missing _text.to_text import
Fixes "global name 'to_text' is not defined" error on openbsd clients. Fixes #18473
This commit is contained in:
parent
b08ef44da0
commit
0690a67926
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ import pwd
|
|||
from ansible.module_utils.basic import get_all_subclasses
|
||||
from ansible.module_utils.six import PY3, iteritems
|
||||
from ansible.module_utils.six.moves import configparser, StringIO
|
||||
from ansible.module_utils._text import to_native
|
||||
from ansible.module_utils._text import to_native, to_text
|
||||
|
||||
try:
|
||||
import selinux
|
||||
|
|
Loading…
Reference in a new issue