2 folderishTypes
= ['Plinn Folder', 'Calendar', 'Portfolio']
3 ttool
= context
.portal_types
4 allFtis
= ttool
.listTypeInfo()
7 for ft
in folderishTypes
:
8 folderishFti
= ttool
.getTypeInfo(ft
)
11 if folderishFti
.allowType(fti
.id) and fti
not in ftis
:
14 ftis
.append(ttool
['Discussion Item'])