ensure quote runs on text

fixes #33260

(cherry picked from commit 65ffb92bff)
pull/33266/merge
Brian Coca 8 years ago committed by Toshio Kuratomi
parent ef7cea1f89
commit f78a60aaa6

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

Loading…
Cancel
Save