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

rename isset to is_set

This commit is contained in:
Michael DeHaan 2012-09-06 20:55:27 -04:00
parent 8621539341
commit dc14681530

View file

@ -336,7 +336,7 @@ class Runner(object):
self.module_args = utils.template(self.module_args, inject) self.module_args = utils.template(self.module_args, inject)
def _check_conditional(conditional): def _check_conditional(conditional):
def isset(var): def is_set(var):
return not var.startswith("$") return not var.startswith("$")
return eval(conditional) return eval(conditional)
conditional = utils.template(self.conditional, inject) conditional = utils.template(self.conditional, inject)