--- 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'])