reorder files
This commit is contained in:
parent
10a866cb1a
commit
69b28b773d
28
DS_gene.py
28
DS_gene.py
@ -6,13 +6,6 @@ import sys
|
||||
import optparse
|
||||
from pymath.random_expression import RdExpression
|
||||
|
||||
#texenv = jinja2.Environment(
|
||||
# block_start_string = '%{',
|
||||
# block_end_string = '%}',
|
||||
# variable_start_string = '%{{',
|
||||
# variable_end_string = '%}}',
|
||||
# loader = jinja2.FileSystemLoader(os.path.abspath('.'))
|
||||
#)
|
||||
texenv = jinja2.Environment(
|
||||
block_start_string = '\Block{',
|
||||
# Gros WTF!! Si on le met en maj ça ne marche pas alors que c'est en maj dans le template...
|
||||
@ -22,27 +15,6 @@ texenv = jinja2.Environment(
|
||||
loader = jinja2.FileSystemLoader(os.path.abspath('.'))
|
||||
)
|
||||
|
||||
# The environment
|
||||
#report_renderer = jinja2.Environment(
|
||||
# block_start_string = '\BLOCK{',
|
||||
# block_end_string = '}',
|
||||
# variable_start_string = '\VAR{',
|
||||
# variable_end_string = '}',
|
||||
# comment_start_string = '\#{',
|
||||
# comment_end_string = '}',
|
||||
# line_statement_prefix = '%-',
|
||||
# line_comment_prefix = '%#',
|
||||
# trim_blocks = True,
|
||||
# autoescape = False,
|
||||
# loader = jinja2.FileSystemLoader(os.path.abspath('.'))
|
||||
#)
|
||||
|
||||
|
||||
#texenv = jinja2.Environment()
|
||||
#texenv.block_start_string = '\BLOCK{'
|
||||
#texenv.block_end_string = '}'
|
||||
#texenv.loader = jinja2.FileSystemLoader('.')
|
||||
|
||||
def main(options):
|
||||
#template = report_renderer.get_template(options.template)
|
||||
template = texenv.get_template(options.template)
|
||||
|
Loading…
Reference in New Issue
Block a user