Commit c8a937d1 authored by Nicolas Delaby's avatar Nicolas Delaby

rename variable

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33763 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a59519ca
......@@ -2080,8 +2080,8 @@ class PortalTypeAllowedContentTypeTemplateItem(BaseTemplateItem):
self._objects['%s/%s' % (self.class_property, id,)] = item_type_list
def install(self, context, trashbin, **kw):
p = context.getPortalObject()
pt = p.unrestrictedTraverse('portal_types')
portal = context.getPortalObject()
types_tool = getToolByName(portal, 'portal_types')
update_dict = kw.get('object_to_update')
force = kw.get('force')
installed_bt = kw.get('installed_bt')
......
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