Don't set the item variable as eager template replacement will over-replace the variable as an empty string.

This commit is contained in:
Michael DeHaan 2013-04-09 19:56:45 -04:00
parent 586ee923a6
commit c64f19dc5f

View file

@ -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'])