Commit 7a9549db authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

lazy_class: PersistentBroken is enough for the base class of ERP5BaseBroken.

otherwise __setattr__ will raise an Exception in Python 3.
parent f578e4ed
......@@ -12,7 +12,7 @@ from Products.ERP5Type.Core.CategoryProperty import CategoryProperty
from ExtensionClass import ExtensionClass, pmc_init_of
from zope.interface import classImplements
from ZODB.broken import Broken, PersistentBroken
from ZODB.broken import PersistentBroken
from AccessControl import ClassSecurityInfo
from zLOG import LOG, WARNING, BLATHER
......@@ -22,7 +22,7 @@ from . import persistent_migration
from ZODB.POSException import ConflictError
import six
class ERP5BaseBroken(Broken, ERP5Base, PersistentBroken):
class ERP5BaseBroken(ERP5Base, PersistentBroken):
# PersistentBroken can't be reused directly
# because its « layout differs from 'GhostPortalType' »
......
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