diff --git a/python/resources/postfixTemplates/PyNotPostfixTemplate/after.py.template b/python/resources/postfixTemplates/PyNotPostfixTemplate/after.py.template
index 191818fa13a3..bdb2c20c1106 100644
--- a/python/resources/postfixTemplates/PyNotPostfixTemplate/after.py.template
+++ b/python/resources/postfixTemplates/PyNotPostfixTemplate/after.py.template
@@ -1,3 +1,2 @@
-def f(a) {
- return not a
-}
\ No newline at end of file
+def f(a):
+ return not a
\ No newline at end of file
diff --git a/python/resources/postfixTemplates/PyNotPostfixTemplate/before.py.template b/python/resources/postfixTemplates/PyNotPostfixTemplate/before.py.template
index abcc6ca8f8a6..1000ef78f55b 100644
--- a/python/resources/postfixTemplates/PyNotPostfixTemplate/before.py.template
+++ b/python/resources/postfixTemplates/PyNotPostfixTemplate/before.py.template
@@ -1,3 +1,2 @@
-def f(a) {
- return a$key
-}
\ No newline at end of file
+def f(a):
+ return a$key
\ No newline at end of file