Commit 6dc5e1cb authored by Arnaud Fontaine's avatar Arnaud Fontaine

ZODB Components: BusinessTemplate: Products.ERP5Type.Base will never be...

ZODB Components: BusinessTemplate: Products.ERP5Type.Base will never be migrated (InitGhostBase) so ignore it when migrating source files from FS.
parent 7d34f032
...@@ -6546,7 +6546,9 @@ Business Template is a set of definitions, such as skins, portal types and categ ...@@ -6546,7 +6546,9 @@ Business Template is a set of definitions, such as skins, portal types and categ
for name, obj in inspect.getmembers(product_obj): for name, obj in inspect.getmembers(product_obj):
if (name[0] == '_' or if (name[0] == '_' or
name in ('this_module', 'Permissions') or name in ('this_module', 'Permissions') or
obj is product_obj): obj is product_obj or
# Base cannot be migrated (InitGhostBase)
(product_name == 'ERP5Type' and name == 'Base')):
continue continue
if inspect.ismodule(obj): if inspect.ismodule(obj):
......
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