Commit c64f19dc by Michael DeHaan

Don't set the item variable as eager template replacement will over-replace the…

Don't set the item variable as eager template replacement will over-replace the variable as an empty string.
parent 586ee923
......@@ -172,7 +172,6 @@ class PlayBook(object):
for item in items:
incvars = vars.copy()
incvars['item'] = item
if 'vars' in play:
if isinstance(play['vars'], dict):
incvars.update(play['vars'])
......
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