Commit 989e1470 authored by Bartek Górny's avatar Bartek Górny

comment

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10493 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dc7d278b
...@@ -126,6 +126,7 @@ class ExternalLibraryFile(ExternalDocument): ...@@ -126,6 +126,7 @@ class ExternalLibraryFile(ExternalDocument):
for atr in self.portal_types[self.getPortalType()].getInstanceBaseCategoryList(): for atr in self.portal_types[self.getPortalType()].getInstanceBaseCategoryList():
n.setProperty(atr,self.getProperty(atr)) n.setProperty(atr,self.getProperty(atr))
# partial commits (otherwise packet may exceed mysql max size) # partial commits (otherwise packet may exceed mysql max size)
# XXX this should probably be deferred as portal_activities
if i % 50 ==0: if i % 50 ==0:
get_transaction().commit() get_transaction().commit()
self.log(len(lista)) self.log(len(lista))
......
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