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
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):