From 81054d815856ad65e927ab8802fedd5e733c6ba6 Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Mon, 8 Jun 2009 07:55:08 +0000
Subject: [PATCH] if no default value is passed to getPropertyList, None is
 used

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27400 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/CategoryMovementGroup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/Document/CategoryMovementGroup.py b/product/ERP5/Document/CategoryMovementGroup.py
index 0bdfaf71e7..3531abfb12 100644
--- a/product/ERP5/Document/CategoryMovementGroup.py
+++ b/product/ERP5/Document/CategoryMovementGroup.py
@@ -42,7 +42,7 @@ class CategoryMovementGroup(PropertyMovementGroup):
     property_dict = {}
     for prop in self.getTestedPropertyList():
       property_dict['%s_list' % prop] = sorted(
-        movement.getPropertyList(prop, None))
+        movement.getPropertyList(prop))
     return property_dict
 
   def test(self, document, property_dict, property_list=None, **kw):
-- 
2.30.9