From 4e053889fefb0cfa2755256a97d2c6892ac44e80 Mon Sep 17 00:00:00 2001 From: Alexandre Boeglin <alex@nexedi.com> Date: Thu, 24 Aug 2006 11:58:12 +0000 Subject: [PATCH] Only add a value to the list of processed (predicate, value) when there is actually a value defined on the predicate. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9395 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Tool/DomainTool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Tool/DomainTool.py b/product/ERP5/Tool/DomainTool.py index ad85af8779..a49ea7d942 100644 --- a/product/ERP5/Tool/DomainTool.py +++ b/product/ERP5/Tool/DomainTool.py @@ -261,10 +261,10 @@ class DomainTool(BaseTool): if mapped_value_property in prop_list: # we already have one value for this (categories, property) continue - prop_list.append(mapped_value_property) value = predicate.getProperty(mapped_value_property) if value is not None: + prop_list.append(mapped_value_property) mv_prop_list = \ mapped_value_property_dict.setdefault( mapped_value_property, []) -- 2.30.9