Mercurial > hg
diff mercurial/formatter.py @ 32896:e14484e7f562
py3: use pycompat.strkwargs() to convert kwargs keys to str before passing
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sat, 17 Jun 2017 15:05:11 +0530 |
parents | 8da65da039c3 |
children | 799db2af824c |
line wrap: on
line diff
--- a/mercurial/formatter.py Sat Jun 17 14:53:25 2017 +0530 +++ b/mercurial/formatter.py Sat Jun 17 15:05:11 2017 +0530 @@ -371,6 +371,7 @@ props['templ'] = self._t props['repo'] = props['ctx'].repo() props['revcache'] = {} + props = pycompat.strkwargs(props) g = self._t(self._tref, ui=self._ui, cache=self._cache, **props) self._out.write(templater.stringify(g))