diff contrib/bdiff-torture.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 0c73634d0570
children 876494fd967d
line wrap: on
line diff