Merge "Add min filter to Jinja2"

This commit is contained in:
Jenkins 2016-08-03 14:30:11 +00:00 committed by Gerrit Code Review
commit 122e57ea07
1 changed files with 1 additions and 0 deletions

View File

@ -132,6 +132,7 @@ class JinjaUtils(object):
# Do not print type for bools "!!bool" on output
j2env.filters['bool'] = TypeUtils.str_to_bool
j2env.filters['min'] = min
# Add a "raise" keyword for raising exceptions from within jinja
def jinja_raise(message):