Skip to content
Snippets Groups Projects
Commit b01eda93 authored by Dominic Kempf's avatar Dominic Kempf
Browse files

[bugfix] Python2 does not like section name called like a python builtin

parent a4993eba
No related branches found
No related tags found
No related merge requests found
......@@ -296,7 +296,7 @@ def generate_driver():
add_section("vtk", "Do visualization...")
add_section("instat", "Set up instationary stuff...")
add_section("timings", "Maybe take performance measurements...")
add_section("print", "Maybe print residuals and matrices to stdout...")
add_section("printing", "Maybe print residuals and matrices to stdout...")
add_section("error", "Maybe calculate errors for test results...")
if get_option("instrumentation_level") >= 1:
......
......@@ -204,7 +204,7 @@ def name_stationarynonlinearproblemsolver(go_type, go):
return name
@preamble(section="print")
@preamble(section="printing")
def print_residual():
ini = name_initree()
n_go = name_gridoperator(get_form_ident())
......@@ -227,7 +227,7 @@ def print_residual():
"}"]
@preamble(section="print")
@preamble(section="printing")
def print_matrix():
ini = name_initree()
t_go = type_gridoperator(get_form_ident())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment