##// END OF EJS Templates
templater: deduplicate iterator of overlay mappings
Yuya Nishihara -
r37423:da8e9eca default
parent child Browse files
Show More
@@ -599,9 +599,7 b' def runmap(context, mapping, data):'
599 diter = d.itermaps(context)
599 diter = d.itermaps(context)
600 else:
600 else:
601 diter = _checkeditermaps(darg, d)
601 diter = _checkeditermaps(darg, d)
602 for i, v in enumerate(diter):
602 for lm in _iteroverlaymaps(context, mapping, diter):
603 lm = context.overlaymap(mapping, v)
604 lm['index'] = i
605 yield evalrawexp(context, lm, targ)
603 yield evalrawexp(context, lm, targ)
606
604
607 def runmember(context, mapping, data):
605 def runmember(context, mapping, data):
General Comments 0
You need to be logged in to leave comments. Login now