now allows for empty vars sections, returns empty dict

fixes #11532
This commit is contained in:
Brian Coca 2015-07-08 22:45:01 -04:00
parent 55366bdc6d
commit b5f3e84014

View file

@ -162,6 +162,8 @@ class Play(Base, Taggable, Become):
raise ValueError
all_vars = combine_vars(all_vars, item)
return all_vars
elif ds is None:
return {}
else:
raise ValueError
except ValueError: