Renamed factories to use snake_case on functions
authorThierry Florac <thierry.florac@onf.fr>
Wed, 28 Mar 2018 15:50:41 +0200
changeset 35 39f7e00f9e51
parent 34 477eb78e8ec1
child 36 3ccb1e8d695f
Renamed factories to use snake_case on functions
src/pyams_gis/configuration.py
--- a/src/pyams_gis/configuration.py	Wed Mar 28 15:31:43 2018 +0200
+++ b/src/pyams_gis/configuration.py	Wed Mar 28 15:50:41 2018 +0200
@@ -84,7 +84,7 @@
 
 
 @adapter_config(context=IMapConfigurationTarget, provides=IMapConfiguration)
-def MapConfigurationFactory(context):
+def map_configuration_factory(context):
     """Map configuration factory"""
     annotations = IAnnotations(context)
     configuration = annotations.get(MAP_CONFIGURATION_KEY)