Commit c05e7fd8 by Michael DeHaan

Fix typing issue

parent 64471db9
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment