Commit 70d238d6 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Revert "WIP: TODO: Localizer Product in Python3.". This now works.

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