Commit df075cf0 authored by Nicolas Delaby's avatar Nicolas Delaby

* wordwrap to 80 chars

* re-use same temp_object variable


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34889 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2d94e28c
...@@ -225,7 +225,8 @@ class ContributionTool(BaseTool): ...@@ -225,7 +225,8 @@ class ContributionTool(BaseTool):
# Temp objects use the standard newContent from Folder # Temp objects use the standard newContent from Folder
if temp_object: if temp_object:
# For temp_object creation, use the standard method # 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 # Then put the file inside ourselves for a short while
if container_path is not None: if container_path is not 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