Reordered attributes
authorThierry Florac <thierry.florac@onf.fr>
Thu, 05 Apr 2018 15:32:14 +0200
changeset 164 07d7bca9e2af
parent 163 e6aad36fefc3
child 165 f124b8ffaa50
child 252 05af55de9eab
Reordered attributes
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'])