[Erp5-report] r34889 nicolas - /erp5/trunk/products/ERP5/Tool/ContributionTool.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Apr 30 13:06:04 CEST 2010
Author: nicolas
Date: Fri Apr 30 13:06:03 2010
New Revision: 34889
URL: http://svn.erp5.org?rev=34889&view=rev
Log:
* wordwrap to 80 chars
* re-use same temp_object variable
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=34889&r1=34888&r2=34889&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Tool/ContributionTool.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Tool/ContributionTool.py [utf8] Fri Apr 30 13:06:03 2010
@@ -225,7 +225,8 @@
# Temp objects use the standard newContent from Folder
if temp_object:
# For temp_object creation, use the standard method
- return BaseTool.newContent(self, id=id, portal_type=portal_type, temp_object=1, **kw)
+ return BaseTool.newContent(self, id=id, portal_type=portal_type,
+ temp_object=temp_object, **kw)
# Then put the file inside ourselves for a short while
if container_path is not None:
More information about the Erp5-report
mailing list