Improved template formatting

pull/1384/head
hbristow 12 years ago
parent 304fd03e64
commit fc16cfcf41
  1. 2
      modules/matlab/generator/gen_matlab.py

@ -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…
Cancel
Save