Commit 02c7b9ad authored by Yoshinori Okuji's avatar Yoshinori Okuji

Use my_base_category instead of base_category to avoid naming conflicts.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@373 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6d4e06ea
......@@ -86,10 +86,10 @@ class CategoryTool( CategoryTool ):
o = self.getCategoryValue(path, base_category=base_category)
if o is not None:
if base_category is None:
base_category = self.getBaseCategoryId(path)
my_base_category = self.getBaseCategoryId(path)
else:
base_category = base_category
bo = getattr(self, base_category, None)
my_base_category = base_category
bo = getattr(self, my_base_category, None)
if bo is not None:
bo_uid = int(bo.getUid())
uid_dict[(int(o.uid), bo_uid, 1)] = 1 # Strict membership
......
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