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':
for (k,v) in inject_vars.iteritems():
if not k.startswith('facter_') and not k.startswith('ohai_'):
if v.find(" ") != -1:
if str(v).find(" ") != -1:
v = "\"%s\"" % v
args += " %s=%s" % (k, v)