mercurial/templater.py
changeset 33017 c31d45623304
parent 33016 4e6dc34b5d7a
child 33554 2943141f5e07
--- a/mercurial/templater.py	Thu Jun 22 03:10:24 2017 +0530
+++ b/mercurial/templater.py	Thu Jun 22 03:16:16 2017 +0530
@@ -371,7 +371,7 @@
         except TemplateNotFound:
             v = default
     if callable(v):
-        return v(**mapping)
+        return v(**pycompat.strkwargs(mapping))
     return v
 
 def buildtemplate(exp, context):