[Erp5-report] r20685 - /erp5/trunk/products/ERP5/Tool/ContributionTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Apr 19 12:26:08 CEST 2008


Author: yusei
Date: Sat Apr 19 12:26:07 2008
New Revision: 20685

URL: http://svn.erp5.org?rev=20685&view=rev
Log:
fix my previous changes. I forgot to pass the data argument...

Modified:
    erp5/trunk/products/ERP5/Tool/ContributionTool.py

Modified: erp5/trunk/products/ERP5/Tool/ContributionTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Tool/ContributionTool.py?rev=20685&r1=20684&r2=20685&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Tool/ContributionTool.py (original)
+++ erp5/trunk/products/ERP5/Tool/ContributionTool.py Sat Apr 19 12:26:07 2008
@@ -214,7 +214,7 @@
     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)




More information about the Erp5-report mailing list