Commit 5c0dfb72 authored by Vincent Pelletier's avatar Vincent Pelletier

Apply 21006 fix on another occurence of similar code.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24677 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3fe628cd
...@@ -805,12 +805,12 @@ class ZCatalog(Folder, Persistent, Implicit): ...@@ -805,12 +805,12 @@ class ZCatalog(Folder, Persistent, Implicit):
for obj in d['obj']: for obj in d['obj']:
try: try:
wrap_obj = self.wrapObject(obj, sql_catalog_id=catalog_id) wrap_obj = self.wrapObject(obj, sql_catalog_id=catalog_id)
wrapped_object_list_2.append(wrap_obj)
except ConflictError: except ConflictError:
raise raise
except: except:
LOG('WARNING ZSQLCatalog', 0, 'wrapObject failed on the object %r' % (obj,), error=sys.exc_info()) LOG('WARNING ZSQLCatalog', 0, 'wrapObject failed on the object %r' % (obj,), error=sys.exc_info())
failed_object_list.append(obj) failed_object_list.append(obj)
wrapped_object_list_2.append(wrap_obj)
# hot_reindexing is True when creating an object during a hot reindex, in this case, we don't want # hot_reindexing is True when creating an object during a hot reindex, in this case, we don't want
# to reindex it in destination catalog, it will be recorded an play only once # to reindex it in destination catalog, it will be recorded an play only once
......
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