Commit 54cf3a8b authored by Julien Muchembled's avatar Julien Muchembled

Comment PropertyDomainDict class.

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/portal_types@29240 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 807745cb
...@@ -28,6 +28,12 @@ from zLOG import LOG ...@@ -28,6 +28,12 @@ from zLOG import LOG
class PropertyDomainDict(Implicit): class PropertyDomainDict(Implicit):
"""
Combined with TranslationProviderBase.property_domain_dict,
this class makes TranslationInformation objects inside
TranslationProviderBase._property_domain_dict accessible with
(un)restrictedTraverse. This hack allows forms to use Base_edit such objects.
"""
def _aq_dynamic(self, attr): def _aq_dynamic(self, attr):
type_info = self.aq_parent type_info = self.aq_parent
try: try:
......
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