Merge pull request #13239 from sysreq0/devel

We should give pipes.quote() a string every time
This commit is contained in:
James Cammarata 2015-11-23 14:27:26 -05:00
commit 679488fdb5

View file

@ -409,7 +409,7 @@ class ActionBase(with_metaclass(ABCMeta, object)):
# the remote system, which can be read and parsed by the module
args_data = ""
for k,v in iteritems(module_args):
args_data += '%s="%s" ' % (k, pipes.quote(v))
args_data += '%s="%s" ' % (k, pipes.quote(text_type(v)))
self._transfer_data(args_file_path, args_data)
display.debug("done transferring module to remote")