1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 07:13:02 +04:00

Improved template formatting

This commit is contained in:
hbristow
2013-06-18 17:29:04 +10:00
parent 304fd03e64
commit fc16cfcf41
+1 -1
View File
@@ -24,7 +24,7 @@ class MatlabWrapperGenerator(object):
parse_tree.build(ns)
# setup the template engine
jtemplate = Environment(loader=PackageLoader('templates', ''), trim_blocks=True)
jtemplate = Environment(loader=PackageLoader('templates', ''), trim_blocks=True, lstrip_blocks=True)
# add the custom filters
jtemplate.filters['toUpperCamelCase'] = toUpperCamelCase