From 3cd6dc0b79b713fb88e847d0c2bd55e9073e0d43 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Thu, 12 Jun 2008 15:01:56 +0000 Subject: [PATCH] _property_dict is also useful for visualising MovementGroup. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21553 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/MovementGroup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/product/ERP5/MovementGroup.py b/product/ERP5/MovementGroup.py index 10f704f8ef..13d3e0ebcd 100644 --- a/product/ERP5/MovementGroup.py +++ b/product/ERP5/MovementGroup.py @@ -210,6 +210,8 @@ class RootMovementGroup: def __repr__(self): repr_str = '<%s object at 0x%x\n' % (self.__class__.__name__, id(self)) + if getattr(self, '_property_dict', None) is not None: + repr_str += ' _property_dict = %r,\n' % self._property_dict if self._movement_list: repr_str += ' _movement_list = %r,\n' % self._movement_list if self._group_list: -- 2.30.9