Commit d76c8c9c by Michael DeHaan

Various cleanup around runner's constructor and how daisy chaining is invoked.

parent 1682dd06
......@@ -258,6 +258,12 @@ def md5(filename):
infile.close()
return digest.hexdigest()
def default(value, function):
''' syntactic sugar around lazy evaluation of defaults '''
if value is None:
return function()
return value
####################################################################
# option handling code for /usr/bin/ansible and ansible-playbook
# below this line
......
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