Commit 015b36be authored by Jean-Paul Smets's avatar Jean-Paul Smets

Remove some useless spaces.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17592 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5b82be68
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment