276ed464bb918cfd9e218bdedef257a842e576af
2 folderishTypes
= ['Huge 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'])