summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2015-04-12 09:50:13 -0500
committerDan McGee <dan@archlinux.org>2015-04-12 09:50:13 -0500
commita2b020ed3554b47c0b27982cf47431126c103ef4 (patch)
treeaf079b96a1eae0cb464028d9322ff7236c971560 /packages
parent57198b5cb45fb390b2fa75faff371d323de27dab (diff)
Add true parameter to Jinja2 default filter
We need this to make it act more like the Django filter, which prints the default value not only when the variable is undefined, but also when it evaluates to being false (such as a None value). Noticed by felixonmars on packages that provided other packages; None was always showing as the comparison operator. More embarrassing is that our file lists were always showing 'None' concatenated onto all directory entries. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages')
0 files changed, 0 insertions, 0 deletions