diff --git a/product/ERP5Type/Utils.py b/product/ERP5Type/Utils.py index 9eb6ad3a044417cc6b87183bf99a20fd8c6b3c28..84ecd16608c5890d0e47415d09aab3ae6e0c1b7a 100644 --- a/product/ERP5Type/Utils.py +++ b/product/ERP5Type/Utils.py @@ -1132,8 +1132,8 @@ def getExistingBaseCategoryList(portal, base_cat_list): value = cache[key] except KeyError: value = category_tool._getOb(base_cat, None) - #if value is None: - # LOG('ERP5Type.Utils.getExistingBaseCategoryList', PROBLEM, 'base_category "%s" is missing, can not generate Accessors' % (base_cat)) + if value is None: + LOG('ERP5Type.Utils.getExistingBaseCategoryList', PROBLEM, 'base_category "%s" is missing, can not generate Accessors' % (base_cat)) cache[key] = value if value is not None: new_base_cat_list.append(base_cat)