Mercurial > hg > mercurial-source
changeset 39058:354fad8697fd
templater: fix string representation of wrapped None
flatten() and stringify() skip None, which means wrappedvalue(None).show()
must return '' instead of 'None'. This isn't a problem right now, but we'll
encounter it once we start using wrapped types extensively.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 05 Jun 2018 21:40:33 +0900 |
parents | 4b0f39e7406e |
children | 9df777d7f061 |
files | mercurial/templateutil.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff