##// END OF EJS Templates
hgweb: drop unused argument 'tmpl' from webutil.diffstat()
Yuya Nishihara -
r38070:4c3ab15f default
parent child Browse files
Show More
@@ -509,7 +509,7 b' def changesetentry(web, ctx):'
509 509
510 510 parity = paritygen(web.stripecount)
511 511 diffstatsgen = diffstatgen(ctx, basectx)
512 diffstats = diffstat(web.tmpl, ctx, diffstatsgen, parity)
512 diffstats = diffstat(ctx, diffstatsgen, parity)
513 513
514 514 return dict(
515 515 diff=diff,
@@ -694,7 +694,7 b' def _diffstattmplgen(context, ctx, statg'
694 694 'parity': next(parity),
695 695 })
696 696
697 def diffstat(tmpl, ctx, statgen, parity):
697 def diffstat(ctx, statgen, parity):
698 698 '''Return a diffstat template for each file in the diff.'''
699 699 args = (ctx, statgen, parity)
700 700 return templateutil.mappedgenerator(_diffstattmplgen, args=args)
General Comments 0
You need to be logged in to leave comments. Login now