From patchwork Wed Jan 10 23:04:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D1798: py3: convert dict keys' to str before passing as kwargs From: phabricator X-Patchwork-Id: 26663 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Wed, 10 Jan 2018 23:04:34 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHGdadbf213a765: py3: convert dict keys' to str before passing as kwargs (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1798?vs=4675&id=4781 REVISION DETAIL https://phab.mercurial-scm.org/D1798 AFFECTED FILES mercurial/templater.py CHANGE DETAILS To: pulkit, #hg-reviewers, durin42 Cc: mercurial-devel diff --git a/mercurial/templater.py b/mercurial/templater.py --- a/mercurial/templater.py +++ b/mercurial/templater.py @@ -397,7 +397,7 @@ # pair instead of **props props = context._resources.copy() props.update(mapping) - return v(**props) + return v(**pycompat.strkwargs(props)) return v def buildtemplate(exp, context):