D1798: py3: convert dict keys' to str before passing as kwargs
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Wed Jan 10 23:04:34 UTC 2018
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
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):
To: pulkit, #hg-reviewers, durin42
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list