Renamed factories to use snake_case on functions
authorThierry Florac <thierry.florac@onf.fr>
Wed, 28 Mar 2018 15:48:24 +0200
changeset 91 c2474255555d
parent 90 2d578ef0d683
child 92 4568b89a1a58
Renamed factories to use snake_case on functions
src/pyams_file/zmi/image.py
--- a/src/pyams_file/zmi/image.py	Wed Mar 28 15:29:49 2018 +0200
+++ b/src/pyams_file/zmi/image.py	Wed Mar 28 15:48:24 2018 +0200
@@ -642,7 +642,7 @@
 
 
 @adapter_config(context=IImage, provides=IImageResizeInfo)
-def ImageResizeInfoFactory(image):
+def image_resize_info_factory(image):
     size = image.get_image_size()
     info = ImageResizeInfo()
     info.width = size[0]