Commit dc146815 by Michael DeHaan

rename isset to is_set

parent 86215393
......@@ -336,7 +336,7 @@ class Runner(object):
self.module_args = utils.template(self.module_args, inject)
def _check_conditional(conditional):
def isset(var):
def is_set(var):
return not var.startswith("$")
return eval(conditional)
conditional = utils.template(self.conditional, inject)
......
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