# HG changeset patch # User Thierry Florac # Date 1522935134 -7200 # Node ID 07d7bca9e2afd4e3237e539d46e3e4bce0a34cd3 # Parent e6aad36fefc3df282ea6686692e446dfa822e44d Reordered attributes diff -r e6aad36fefc3 -r 07d7bca9e2af src/pyams_utils/inherit.py --- a/src/pyams_utils/inherit.py Thu Apr 05 11:08:49 2018 +0200 +++ b/src/pyams_utils/inherit.py Thu Apr 05 15:32:14 2018 +0200 @@ -15,23 +15,23 @@ # import standard library +from zope.interface import implementer, Interface +from zope.location import Location +from zope.schema.fieldproperty import FieldProperty + # import interfaces from pyams_utils.interfaces.inherit import IInheritInfo - # import packages from pyams_utils.traversing import get_parent from pyams_utils.zodb import volatile_property -from zope.interface import implementer, Interface -from zope.location import Location -from zope.schema.fieldproperty import FieldProperty @implementer(IInheritInfo) class BaseInheritInfo(Location): """Base inherit class""" + target_interface = Interface adapted_interface = Interface - target_interface = Interface _inherit = FieldProperty(IInheritInfo['inherit'])