Commit 9bb46e11 authored by Nicolas Dumazet's avatar Nicolas Dumazet

it's really not necessary to save a function call on a test-method

It just makes development more error-prone...


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39869 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 71bcb000
......@@ -855,7 +855,7 @@ class Base( CopyContainer,
"""
ptype = self.portal_type
klass = self.__class__
aq_key = (ptype, klass) # We do not use _aq_key() here for speed
aq_key = self._aq_key()
initializePortalTypeDynamicProperties(self, klass, ptype, aq_key, \
self.getPortalObject())
from Products.ERP5Form.PreferenceTool import createPreferenceToolAccessorList
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment