Imports cleanup
authorThierry Florac <tflorac@ulthar.net>
Wed, 26 Sep 2018 16:56:43 +0200
changeset 92 7103aeba5eb7
parent 91 0c5d52d3ffad
child 93 5949012d0262
Imports cleanup
src/pyams_zmi/zmi/site.py
--- a/src/pyams_zmi/zmi/site.py	Wed Sep 26 16:17:33 2018 +0200
+++ b/src/pyams_zmi/zmi/site.py	Wed Sep 26 16:56:43 2018 +0200
@@ -12,33 +12,28 @@
 
 __docformat__ = 'restructuredtext'
 
-
-# import standard library
-
-# import interfaces
-from pyams_form.interfaces.form import IWidgetForm, IFormContextPermissionChecker
-from pyams_skin.interfaces import IInnerPage, IPageHeader, IContentTitle
-from pyams_skin.interfaces.configuration import IConfiguration, IBackOfficeConfiguration
-from pyams_skin.layer import IPyAMSLayer
-from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION, MANAGE_SYSTEM_PERMISSION
-from pyams_utils.interfaces.site import ISiteRoot
-from pyams_zmi.interfaces import IZMIConfiguration, IPropertiesEditForm
-from pyams_zmi.interfaces.menu import ISiteManagementMenu, IPropertiesMenu
-from pyams_zmi.layer import IAdminLayer
-
-# import packages
-from pyams_form.form import AJAXEditForm, ajax_config
-from pyams_pagelet.pagelet import pagelet_config
-from pyams_skin.page import DefaultPageHeaderAdapter
-from pyams_skin.viewlet.menu import MenuItem
-from pyams_utils.adapter import adapter_config, ContextRequestViewAdapter, ContextAdapter
-from pyams_viewlet.manager import viewletmanager_config
-from pyams_viewlet.viewlet import viewlet_config
-from pyams_zmi.form import AdminEditForm, AdminDialogEditForm
 from pyramid.decorator import reify
 from pyramid.view import view_config
 from z3c.form import field
-from zope.interface import implementer, implementedBy, Interface
+from zope.interface import Interface, implementedBy, implementer
+
+from pyams_form.form import AJAXEditForm, ajax_config
+from pyams_form.interfaces.form import IFormContextPermissionChecker, IWidgetForm
+from pyams_pagelet.pagelet import pagelet_config
+from pyams_skin.interfaces import IContentTitle, IInnerPage, IPageHeader
+from pyams_skin.interfaces.configuration import IBackOfficeConfiguration, IConfiguration
+from pyams_skin.layer import IPyAMSLayer
+from pyams_skin.page import DefaultPageHeaderAdapter
+from pyams_skin.viewlet.menu import MenuItem
+from pyams_utils.adapter import ContextAdapter, ContextRequestViewAdapter, adapter_config
+from pyams_utils.interfaces import MANAGE_SYSTEM_PERMISSION, VIEW_SYSTEM_PERMISSION
+from pyams_utils.interfaces.site import ISiteRoot
+from pyams_viewlet.manager import viewletmanager_config
+from pyams_viewlet.viewlet import viewlet_config
+from pyams_zmi.form import AdminDialogEditForm, AdminEditForm
+from pyams_zmi.interfaces import IPropertiesEditForm, IZMIConfiguration
+from pyams_zmi.interfaces.menu import IPropertiesMenu, ISiteManagementMenu
+from pyams_zmi.layer import IAdminLayer
 
 from pyams_zmi import _