Commit 86952248 authored by Vincent Pelletier's avatar Vincent Pelletier

Woops, accidentaly commented out line in previous commit. Partialy revert it.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24938 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5c3a951c
......@@ -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)
......
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