# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may #
# not use this file except in compliance with the License. #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may #
# not use this file except in compliance with the License. #
env = jinja2.Environment()
env.trim_blocks = True
env.lstrip_blocks = True
with open(file) as fd:
template = env.from_string(fd.read())
data = template.render(yaml=yaml)
env = jinja2.Environment()
env.trim_blocks = True
env.lstrip_blocks = True
with open(file) as fd:
template = env.from_string(fd.read())
data = template.render(yaml=yaml)