From 6535ab54513224c53138db582517841bd2ec49bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Fri, 20 Aug 2010 07:47:44 +0000
Subject: [PATCH] follow interface definition of checkConsistency method

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37921 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/CodingStyle.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5Type/CodingStyle.py b/product/ERP5Type/CodingStyle.py
index 7b1bf0fe86..23d892a9d3 100644
--- a/product/ERP5Type/CodingStyle.py
+++ b/product/ERP5Type/CodingStyle.py
@@ -118,7 +118,7 @@ def checkConsistency(self, fixit=0, source_code=None):
   return message_list
 
 # Add checkConsistency to Python Scripts
-def checkPythonScriptConsistency(self, fixit=0):
+def checkPythonScriptConsistency(self, fixit=0, filter=None, **kw):
   return checkConsistency(self, fixit=fixit, source_code=self.body())
 
 from Products.PythonScripts.PythonScript import PythonScript
@@ -126,7 +126,7 @@ PythonScript.checkConsistency= checkPythonScriptConsistency
 PythonScript.checkConsistency__roles__ = ('Manager',) # A hack to protect the method
 
 # Add checkConsistency to Page Templates
-def checkPageTemplateConsistency(self, fixit=0):
+def checkPageTemplateConsistency(self, fixit=0, filter=None, **kw):
   return checkConsistency(self, fixit=fixit, source_code=self.read())
 
 from Products.PageTemplates.PageTemplate import PageTemplate
-- 
2.30.9