mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 05:29:54 +08:00
Improved template formatting
This commit is contained in:
parent
304fd03e64
commit
fc16cfcf41
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user