env = jinja2.Environment(loader=jinja2.FunctionLoader(jinja_templatefunc))
template = env.get_template(args.template)
- print(template.render(jinja_params))
+ try:
+ print(template.render(jinja_params))
+ except BrokenPipeError:
+ pass
logging.info("found %d diff out of %d expfile/subtest rowsets", len(datagrid), rowsets)
}
}
logging.debug("jinja data: %s", jinja_params)
-
+
env = jinja2.Environment(loader=jinja2.FunctionLoader(jinja_templatefunc))
template = env.get_template(args.template)
- print(template.render(jinja_params))
+ try:
+ print(template.render(jinja_params))
+ except BrokenPipeError:
+ pass
if __name__ == '__main__':
main()