From 989e147060f0e9ccf2453fabdeaecd5624817480 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20G=C3=B3rny?= <bartek@gorny.edu.pl> Date: Mon, 2 Oct 2006 16:35:25 +0000 Subject: [PATCH] comment git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10493 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5OOo/Document/ExternalLibraryFile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product/ERP5OOo/Document/ExternalLibraryFile.py b/product/ERP5OOo/Document/ExternalLibraryFile.py index 0c1bee77e6..884e52427a 100644 --- a/product/ERP5OOo/Document/ExternalLibraryFile.py +++ b/product/ERP5OOo/Document/ExternalLibraryFile.py @@ -126,6 +126,7 @@ class ExternalLibraryFile(ExternalDocument): for atr in self.portal_types[self.getPortalType()].getInstanceBaseCategoryList(): n.setProperty(atr,self.getProperty(atr)) # partial commits (otherwise packet may exceed mysql max size) + # XXX this should probably be deferred as portal_activities if i % 50 ==0: get_transaction().commit() self.log(len(lista)) -- 2.30.9