--- a/src/pyams_content/features/alert/__init__.py Wed Oct 03 11:06:08 2018 +0200
+++ b/src/pyams_content/features/alert/__init__.py Wed Oct 03 16:11:39 2018 +0200
@@ -12,21 +12,16 @@
__docformat__ = 'restructuredtext'
+from persistent import Persistent
+from zope.container.contained import Contained
+from zope.interface import implementer
+from zope.schema.fieldproperty import FieldProperty
-# import standard library
-from persistent import Persistent
-
-# import interfaces
+from pyams_content.component.links import InternalReferenceMixin
from pyams_content.features.alert.interfaces import IAlertItem
from pyams_content.interfaces import MANAGE_SITE_ROOT_PERMISSION
from pyams_form.interfaces.form import IFormContextPermissionChecker
-
-# import packages
-from pyams_content.component.links import InternalReferenceMixin
-from pyams_utils.adapter import adapter_config, ContextAdapter
-from zope.container.contained import Contained
-from zope.interface import implementer
-from zope.schema.fieldproperty import FieldProperty
+from pyams_utils.adapter import ContextAdapter, adapter_config
@implementer(IAlertItem)
@@ -43,7 +38,7 @@
@adapter_config(context=IAlertItem, provides=IFormContextPermissionChecker)
-class AlertitemPermissionChecker(ContextAdapter):
+class AlertItemPermissionChecker(ContextAdapter):
"""Alert item permission checker"""
edit_permission = MANAGE_SITE_ROOT_PERMISSION