Commit b0af32ff authored by Jérome Perrin's avatar Jérome Perrin

simply remove extra space at end of lines


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17131 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0583c35e
......@@ -498,7 +498,7 @@ class ZCatalog(Folder, Persistent, Implicit):
archive=archive)
# Clear the future catalog and start reindexing the site in it.
final_activity_tag = 'hot_reindex_last_ERP5Site_reindexAll_tag'
self.ERP5Site_reindexAll(sql_catalog_id=destination_sql_catalog_id,
self.ERP5Site_reindexAll(sql_catalog_id=destination_sql_catalog_id,
final_activity_tag=final_activity_tag,
clear_catalog=1,
passive_commit=1)
......@@ -771,9 +771,9 @@ class ZCatalog(Folder, Persistent, Implicit):
# run activity or execute for each archive depending on priority
if len(catalog_dict):
for catalog_id in catalog_dict.keys():
d = catalog_dict[catalog_id]
d = catalog_dict[catalog_id]
if hot_reindexing and self.hot_reindexing_state == HOT_REINDEXING_DOUBLE_INDEXING_STATE and \
self.destination_sql_catalog_id == catalog_id:
self.destination_sql_catalog_id == catalog_id:
destination_catalog = self.getSQLCatalog(self.destination_sql_catalog_id)
# wrap all objects
wrapped_object_list_2 = []
......@@ -784,7 +784,7 @@ class ZCatalog(Folder, Persistent, Implicit):
raise
except:
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)
# reindex objects in destination catalog
destination_catalog.catalogObjectList(wrapped_object_list_2, **kw)
......
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