Mercurial > hg
diff contrib/python-zstandard/setup.py @ 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 | c0081d3e1598 |
children | 675775c33ab6 |