##// END OF EJS Templates
templatekw: do not directly call .gen
Yuya Nishihara -
r37292:45987e2b default
parent child Browse files
Show More
@@ -613,10 +613,7 b' def showsuccessorssets(context, mapping)'
613
613
614 # Format the successorssets
614 # Format the successorssets
615 def render(d):
615 def render(d):
616 t = []
616 return templateutil.stringify(context, mapping, d)
617 for i in d.gen():
618 t.append(i)
619 return "".join(t)
620
617
621 def gen(data):
618 def gen(data):
622 yield "; ".join(render(d) for d in data)
619 yield "; ".join(render(d) for d in data)
General Comments 0
You need to be logged in to leave comments. Login now