Renamed factories to use snake_case on functions
authorThierry Florac <thierry.florac@onf.fr>
Wed, 28 Mar 2018 16:05:39 +0200
changeset 57 101f3a658b8a
parent 56 106d61c9d17d
child 58 b1d1dd23df30
Renamed factories to use snake_case on functions
src/pyams_zmi/configuration.py
--- a/src/pyams_zmi/configuration.py	Wed Mar 28 15:39:59 2018 +0200
+++ b/src/pyams_zmi/configuration.py	Wed Mar 28 16:05:39 2018 +0200
@@ -91,7 +91,7 @@
 
 
 @adapter_config(context=ISiteRoot, provides=IZMIConfiguration)
-def ZMIConfigurationFactory(context):
+def zmi_configuration_factory(context):
     """ZMI configuration factory"""
     annotations = IAnnotations(context)
     configuration = annotations.get(ZMI_CONFIGURATION_KEY)