Commit 01e528ec authored by Yoshinori Okuji's avatar Yoshinori Okuji

Initialize insert_catalog_line correctly.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@931 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c402e74c
......@@ -282,7 +282,7 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base):
# Generate UID
kw['path'] = path
kw['uid'] = int(index)
kw['insert_catalog_line'] = insert_catalog_line
kw['insert_catalog_line'] = 0
# LOG
# LOG("Call SQL Method %s with args:" % method_name,0, str(kw))
# Alter row
......@@ -310,6 +310,7 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base):
# Generate UID
index = self.newUid()
object.uid = index
insert_catalog_line = 0
else:
index = uid
for method_name in self.sql_catalog_object:
......
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