Commit 82595cd8 authored by Arnaud Fontaine's avatar Arnaud Fontaine

WIP: TODO: Localizer Product in Python3.

parent b0da70cb
...@@ -51,8 +51,9 @@ if person_module is not None: ...@@ -51,8 +51,9 @@ if person_module is not None:
}, },
max_depth=1, # Do not reindex Person's subobjects max_depth=1, # Do not reindex Person's subobjects
) )
print("#### Indexing translations ####") ## XXX-zope4py3: Localizer is unicode()-based
portal.ERP5Site_updateTranslationTable(sql_catalog_id=sql_catalog_id) ##print("#### Indexing translations ####")
##portal.ERP5Site_updateTranslationTable(sql_catalog_id=sql_catalog_id)
print(reindex( print(reindex(
[portal.portal_categories], [portal.portal_categories],
tag=category_tag, tag=category_tag,
......
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