[Erp5-report] r42806 nicolas.dumazet - /erp5/trunk/products/ERP5Type/Base.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jan 31 13:40:55 CET 2011


Author: nicolas.dumazet
Date: Mon Jan 31 13:40:55 2011
New Revision: 42806

URL: http://svn.erp5.org?rev=42806&view=rev
Log:
allow naming Property Holders

Modified:
    erp5/trunk/products/ERP5Type/Base.py

Modified: erp5/trunk/products/ERP5Type/Base.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Base.py?rev=42806&r1=42805&r2=42806&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Base.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/Base.py [utf8] Mon Jan 31 13:40:55 2011
@@ -319,8 +319,8 @@ class PropertyHolder(object):
                                '__ac_permissions__',
                                '_erp5_properties'))
 
-  def __init__(self):
-    self.__name__ = 'PropertyHolder'
+  def __init__(self, name='PropertyHolder'):
+    self.__name__ = name
     self.security = ClassSecurityInfo() # We create a new security info object
     self.workflow_method_registry = {}
 



More information about the Erp5-report mailing list