From cf5d3dcfd986d9e6e38682bb122657c6d10fc4ca Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Mon, 12 Jan 2004 15:18:43 +0000
Subject: [PATCH] new naming

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@186 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Tool/CategoryTool.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/product/ERP5/Tool/CategoryTool.py b/product/ERP5/Tool/CategoryTool.py
index efa46cd32f..3ac84d05b6 100755
--- a/product/ERP5/Tool/CategoryTool.py
+++ b/product/ERP5/Tool/CategoryTool.py
@@ -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_id = self.getBaseCategoryId(path)
+              base_category = self.getBaseCategoryId(path)
             else:
-              base_category_id = base_category
-            bo = getattr(self, base_category_id, None)
+              base_category = base_category
+            bo = getattr(self, base_category, None)
             if bo is not None:
               bo_uid = int(bo.getUid())
               uid_dict[(int(o.uid), bo_uid, 1)] = 1 # Strict membership
-- 
2.30.9