##// END OF EJS Templates
py3: use pycompat.strkwargs() before passing a dict as keyword argument...
Pulkit Goyal -
r34348:46f45b7e default
parent child Browse files
Show More
@@ -1371,6 +1371,7 b' class templater(object):'
1371
1371
1372 def render(self, mapping):
1372 def render(self, mapping):
1373 """Render the default unnamed template and return result as string"""
1373 """Render the default unnamed template and return result as string"""
1374 mapping = pycompat.strkwargs(mapping)
1374 return stringify(self('', **mapping))
1375 return stringify(self('', **mapping))
1375
1376
1376 def __call__(self, t, **mapping):
1377 def __call__(self, t, **mapping):
General Comments 0
You need to be logged in to leave comments. Login now