changeset 31924 | 21f129354dd0 |
parent 31807 | e6eb86b154c5 |
child 31925 | 5b2241e84982 |
--- a/mercurial/formatter.py Wed Apr 12 21:10:47 2017 +0900 +++ b/mercurial/formatter.py Wed Apr 05 22:25:36 2017 +0900 @@ -329,8 +329,7 @@ data = list(data) def f(): yield _plainconverter.formatlist(data, name, fmt, sep) - return templatekw._hybrid(f(), data, lambda x: {name: x}, - lambda d: fmt % d[name]) + return templatekw.hybridlist(data, name=name, fmt=fmt, gen=f()) class templateformatter(baseformatter): def __init__(self, ui, out, topic, opts):