diff --git a/python/dune/perftool/sumfact/autotune.py b/python/dune/perftool/sumfact/autotune.py
index 24f85dc0bfc4644c2ac83c6b6f2296c6455d9e68..7578799cf6fa971d943c6e6f7cad084bba07660a 100644
--- a/python/dune/perftool/sumfact/autotune.py
+++ b/python/dune/perftool/sumfact/autotune.py
@@ -140,8 +140,7 @@ def generate_standalone_code(sf, filename, logname):
                       ])
 
         # Start a TSC timer
-        f.writelines([
-                      "  auto start = Dune::PDELab::TSC::start();\n",
+        f.writelines(["  auto start = Dune::PDELab::TSC::start();\n",
                       ])
 
         # Add the implementation of the kernel.
diff --git a/python/dune/perftool/sumfact/tabulation.py b/python/dune/perftool/sumfact/tabulation.py
index 74a6a3d1e400210395f11314397f39acf0acc4b6..17b859064f2c0a25ae8f7cdd51aef9ec57e15cf6 100644
--- a/python/dune/perftool/sumfact/tabulation.py
+++ b/python/dune/perftool/sumfact/tabulation.py
@@ -366,7 +366,7 @@ def sort_quadrature_points_weights(qp, qw, bound):
     range_field = lop_template_range_field()
     domain_field = name_domain_field()
     include_file("dune/perftool/sumfact/onedquadrature.hh", filetag="operatorfile")
-    return frozenset({instruction(code="onedQuadraturePointsWeights<{}, {}, {}>({}, {});" \
+    return frozenset({instruction(code="onedQuadraturePointsWeights<{}, {}, {}>({}, {});"
                                   .format(range_field, domain_field, bound, qp, qw),
                                   assignees=frozenset({qp, qw}),
                                   read_variables=frozenset({qp, qw}),