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

Fix typing issue

This commit is contained in:
Michael DeHaan 2012-03-19 22:46:54 -04:00
parent 64471db94a
commit c05e7fd83e

View file

@ -318,7 +318,7 @@ class Runner(object):
if self.module_name == 'setup': if self.module_name == 'setup':
for (k,v) in inject_vars.iteritems(): for (k,v) in inject_vars.iteritems():
if not k.startswith('facter_') and not k.startswith('ohai_'): if not k.startswith('facter_') and not k.startswith('ohai_'):
if v.find(" ") != -1: if str(v).find(" ") != -1:
v = "\"%s\"" % v v = "\"%s\"" % v
args += " %s=%s" % (k, v) args += " %s=%s" % (k, v)