# HG changeset patch # User Yuya Nishihara # Date 2018-03-01 21:52:17 # Node ID ab7f86a748e6f84ffcd7d0eafc5786924d0e6c2a # Parent a16fceb686a7d867c11c8a3f93f20b618296e5d7 py3: drop b'' from error message generated by templater.runmember() diff --git a/mercurial/templater.py b/mercurial/templater.py --- a/mercurial/templater.py +++ b/mercurial/templater.py @@ -548,7 +548,7 @@ def runmember(context, mapping, data): 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)