From 1f23618acc666a65db6a0d3938d2633a652fa13d Mon Sep 17 00:00:00 2001
From: Nicolas Dumazet <nicolas.dumazet@nexedi.com>
Date: Fri, 22 Oct 2010 03:21:14 +0000
Subject: [PATCH] similarly, __of__ has no reason to trigger portal_type
 loading.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39457 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/dynamic/lazy_class.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/product/ERP5Type/dynamic/lazy_class.py b/product/ERP5Type/dynamic/lazy_class.py
index 434d709c5e..6b8fa986b9 100644
--- a/product/ERP5Type/dynamic/lazy_class.py
+++ b/product/ERP5Type/dynamic/lazy_class.py
@@ -62,6 +62,7 @@ def generateLazyPortalTypeClass(portal_type_name,
             if attr in ('__class__',
                         '__getnewargs__',
                         '__getstate__',
+                        '__of__',
                         '__dict__',
                         '__module__',
                         '__name__',
-- 
2.30.9