diff --git a/python/dune/codegen/sumfact/autotune.py b/python/dune/codegen/sumfact/autotune.py
index 6273e355988ebc1a474251aed06291bc5ba81564..1004c77cce90021b7b6b3a3d07c2b47208d9360a 100644
--- a/python/dune/codegen/sumfact/autotune.py
+++ b/python/dune/codegen/sumfact/autotune.py
@@ -185,7 +185,7 @@ def generate_standalone_code_google_benchmark(sf, filename):
     # Add the implementation of the kernel.
     # TODO: This can probably done in a safer way?
     first_line = knl.member.lines[0]
-    arguments = first_line[first_line.find("(")+1:first_line.find(")")]
+    arguments = first_line[first_line.find("(") + 1:first_line.find(")")]
 
     with open(filename, "w") as f:
         f.writelines(["// {}".format(first_line),
@@ -202,7 +202,7 @@ def generate_standalone_code_google_benchmark(sf, filename):
                       "\n"
                       ])
 
-    write_global_data(sf, filename);
+    write_global_data(sf, filename)
 
     with open(filename, "a") as f:
         f.write("void sumfact_kernel({})\n".format(arguments))