Mercurial > hg
diff contrib/undumprevlog @ 38447:b6294c113794
templater: fix truth testing of integer 0 taken from a list/dict
Broken at f9c426385853. bool(python_value) shouldn't be used here since
an integer 0 has to be truthy for backward compatibility.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 17 Jun 2018 16:10:38 +0900 |
parents | a8a902d7176e |
children | a063b84ce064 |