[CMF-checkins] CVS: CMF - PortalFolder.py:1.18
tseaver@digicool.com
tseaver@digicool.com
Tue, 12 Jun 2001 20:08:46 -0400 (EDT)
Update of /cvs-repository/CMF/CMFCore
In directory korak.digicool.com:/tmp/cvs-serv2820/CMFCore
Modified Files:
PortalFolder.py
Log Message:
- Correct inappropriate filtering of contentValues et aliae by
"addability" (should only be filtered by whether the objects smell
like content).
--- Updated File PortalFolder.py in package CMF --
--- PortalFolder.py 2001/06/08 15:07:21 1.17
+++ PortalFolder.py 2001/06/13 00:08:46 1.18
@@ -195,7 +195,7 @@
'''
new_spec = []
types_tool = getToolByName(self, 'portal_types')
- types = types_tool.listContentTypes( container=self, by_metatype=1 )
+ types = types_tool.listContentTypes( by_metatype=1 )
if spec is not None:
if type(spec) == type(''):
spec = [spec]