Mercurial > hg
changeset 34346:46f45b7efa30
py3: use pycompat.strkwargs() before passing a dict as keyword argument
Differential Revision: https://phab.mercurial-scm.org/D854
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sat, 30 Sep 2017 15:46:36 +0530 |
parents | 05167447f90d |
children | 87a6be5b29f4 |
files | mercurial/templater.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/templater.py Sat Sep 30 05:22:22 2017 +0530 +++ b/mercurial/templater.py Sat Sep 30 15:46:36 2017 +0530 @@ -1371,6 +1371,7 @@ def render(self, mapping): """Render the default unnamed template and return result as string""" + mapping = pycompat.strkwargs(mapping) return stringify(self('', **mapping)) def __call__(self, t, **mapping):