1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

ensure quote runs on text

fixes #33260
This commit is contained in:
Brian Coca 2017-11-24 15:37:20 -05:00 committed by Toshio Kuratomi
parent 7ec692ea7f
commit 65ffb92bff

View file

@ -141,7 +141,7 @@ def strftime(string_format, second=None):
def quote(a):
''' return its argument quoted for shell usage '''
return shlex_quote(a)
return shlex_quote(to_text(a))
def fileglob(pathname):