Commit 99f49d36 authored by Ad Schellevis's avatar Ad Schellevis

Merge pull request #887 from fraenki/jinja

enable jinja2 loopcontrols extension
parents d0fe5ece fe55eb2d
......@@ -54,7 +54,7 @@ class Template(object):
# setup jinja2 environment
self._template_dir = os.path.dirname(os.path.abspath(__file__)) + '/../templates/'
self._j2_env = jinja2.Environment(loader=jinja2.FileSystemLoader(self._template_dir), trim_blocks=True,
extensions=["jinja2.ext.do", ])
extensions=["jinja2.ext.do", "jinja2.ext.loopcontrols"])
@staticmethod
def _read_manifest(filename):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment