reorder files

This commit is contained in:
Lafrite 2014-08-29 14:40:22 +02:00
parent 10a866cb1a
commit 69b28b773d
5 changed files with 0 additions and 28 deletions

View File

@ -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)