--- a/src/pyams_file/image.py Fri Oct 12 08:16:50 2018 +0200
+++ b/src/pyams_file/image.py Fri Oct 12 08:27:14 2018 +0200
@@ -9,25 +9,20 @@
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
-from pyramid.renderers import render
__docformat__ = 'restructuredtext'
-
-# import standard library
import re
-
from io import BytesIO
-from PIL import Image, ImageFilter
-# import interfaces
-from pyams_file.interfaces import IImage, IThumbnailer, IThumbnailGeometry, IThumbnails, IResponsiveImage
-from pyams_utils.interfaces.tales import ITALESExtension
+from PIL import Image, ImageFilter
+from pyramid.renderers import render
+from zope.interface import Interface, implementer
+from zope.schema.fieldproperty import FieldProperty
-# import packages
-from pyams_utils.adapter import adapter_config, ContextAdapter, ContextRequestViewAdapter
-from zope.interface import implementer, Interface
-from zope.schema.fieldproperty import FieldProperty
+from pyams_file.interfaces import IImage, IResponsiveImage, IThumbnailGeometry, IThumbnailer, IThumbnails
+from pyams_utils.adapter import ContextAdapter, ContextRequestViewAdapter, adapter_config
+from pyams_utils.interfaces.tales import ITALESExtension
from pyams_file import _