Mercurial > hg-stable
changeset 36990:4b744c7b35ce
templater: fix invalid reference of runsymbol in doctest
Oversight at da710c3df4dc. I was just lucky that this lambda function is
never evaluated.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 17 Mar 2018 15:22:14 +0900 |
parents | afac8ab37c2c |
children | 317382151ac3 |
files | mercurial/templater.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/templater.py Sun Mar 18 12:54:03 2018 +0900 +++ b/mercurial/templater.py Sat Mar 17 15:22:14 2018 +0900 @@ -402,7 +402,7 @@ """Compile parsed tree of function arguments into list or dict of (func, data) pairs - >>> context = engine(lambda t: (runsymbol, t)) + >>> context = engine(lambda t: (templateutil.runsymbol, t)) >>> def fargs(expr, argspec): ... x = _parseexpr(expr) ... n = getsymbol(x[1])