Mercurial > hg > mercurial-source
changeset 37945:b56b79185aad
templater: do not use stringify() to concatenate flattened template output
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 17 Mar 2018 20:13:06 +0900 |
parents | e09d2183e226 |
children | 53e6b7e05553 |
files | mercurial/templater.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/templater.py +++ b/mercurial/templater.py @@ -815,7 +815,7 @@ def render(self, t, mapping): """Render the specified named template and return result as string""" - return templateutil.stringify(self.generate(t, mapping)) + return b''.join(self.generate(t, mapping)) def generate(self, t, mapping): """Return a generator that renders the specified named template and