Mercurial > hg-stable
changeset 36574:ab7f86a748e6
py3: drop b'' from error message generated by templater.runmember()
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 01 Mar 2018 16:52:17 -0500 |
parents | a16fceb686a7 |
children | 14bbb54a9c5b |
files | mercurial/templater.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/templater.py Thu Mar 01 16:42:24 2018 -0500 +++ b/mercurial/templater.py Thu Mar 01 16:52:17 2018 -0500 @@ -548,7 +548,7 @@ if sym: raise error.ParseError(_("keyword '%s' has no member") % sym) else: - raise error.ParseError(_("%r has no member") % d) + raise error.ParseError(_("%r has no member") % pycompat.bytestr(d)) def buildnegate(exp, context): arg = compileexp(exp[1], context, exprmethods)