From dd5ffa73e3868fd21080683d4c803a83c0fdc995 Mon Sep 17 00:00:00 2001 From: Julien Muchembled <jm@nexedi.com> Date: Tue, 15 Jan 2013 16:20:22 +0100 Subject: [PATCH] CategoryTool.getAcquiredCategoryList: do not duplicate loopback value on categories --- product/CMFCategory/CategoryTool.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/product/CMFCategory/CategoryTool.py b/product/CMFCategory/CategoryTool.py index 09e2907ad8..59429fb017 100644 --- a/product/CMFCategory/CategoryTool.py +++ b/product/CMFCategory/CategoryTool.py @@ -1190,8 +1190,6 @@ class CategoryTool( UniqueObject, Folder, Base ): # Make sure all local categories are considered if c not in result: append(c) - if getattr(context, 'isCategory', 0): - append(context.getRelativeUrl()) # Pure category is member of itself return result # Catalog related methods -- 2.30.9