From 015b36be7c8db8558325a2e98361ec418ab89684 Mon Sep 17 00:00:00 2001 From: Jean-Paul Smets <jp@nexedi.com> Date: Wed, 14 Nov 2007 18:35:00 +0000 Subject: [PATCH] Remove some useless spaces. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17592 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Core/Folder.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/product/ERP5Type/Core/Folder.py b/product/ERP5Type/Core/Folder.py index 3c871b9c0a..f15639c500 100644 --- a/product/ERP5Type/Core/Folder.py +++ b/product/ERP5Type/Core/Folder.py @@ -1207,12 +1207,12 @@ class Folder(CopyContainer, CMFBTreeFolder, CMFHBTreeFolder, Base, FolderMixIn, # We should also return an error if any return error_list - security.declareProtected( Permissions.AccessContentsInformation, 'asXML' ) + security.declareProtected(Permissions.AccessContentsInformation, 'asXML') def asXML(self, ident=0): """ Generate an xml text corresponding to the content of this object """ - return Folder_asXML(self,ident=ident) + return Folder_asXML(self, ident=ident) # Optimized Menu System security.declarePublic('getVisibleAllowedContentTypeList') @@ -1244,13 +1244,13 @@ class Folder(CopyContainer, CMFBTreeFolder, CMFHBTreeFolder, Base, FolderMixIn, 'getObjectIds') def getObjectIds(self, *args, **kw): return self.objectIds(*args, **kw) - + # Overloading - security.declareProtected( Permissions.AccessContentsInformation, - 'getParentSQLExpression' ) - def getParentSQLExpression(self, table = 'catalog', strict_membership = 0): + security.declareProtected(Permissions.AccessContentsInformation, + 'getParentSQLExpression') + def getParentSQLExpression(self, table='catalog', strict_membership=0): """ - Builds an SQL expression to search children and subclidren + Builds an SQL expression to search children and subchildren """ if strict_membership: return Base.getParentSQLExpression(self, -- 2.30.9