Commit 63a76617 authored by Yusei Tahara's avatar Yusei Tahara

fix my previous changes. I forgot to pass the data argument...


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20685 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 20eb6735
......@@ -214,7 +214,7 @@ class ContributionTool(BaseTool):
if portal_type is None:
registry = getToolByName(self, 'portal_contribution_registry', None)
if registry is not None:
portal_type = registry.findPortalTypeName(file_name, None, None)
portal_type = registry.findPortalTypeName(file_name, None, data)
property_dict = self.getMatchedFileNamePatternDict(file_name)
reference = property_dict.get('reference', None)
version = property_dict.get('version', None)
......
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