diff i18n/posplit @ 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 90d84e1e427a
children d0e8933d6dad
line wrap: on
line diff