--- a/src/pyams_skin/configuration.py Wed Mar 28 15:37:44 2018 +0200
+++ b/src/pyams_skin/configuration.py Wed Mar 28 16:04:18 2018 +0200
@@ -64,7 +64,7 @@
@adapter_config(context=IConfigurationManager, provides=IConfiguration)
-def ConfigurationFactory(context):
+def configuration_factory(context):
"""Configuration factory"""
annotations = IAnnotations(context)
configuration = annotations.get(SKIN_CONFIGURATION_KEY)
@@ -132,7 +132,7 @@
@adapter_config(context=IConfigurationManager, provides=IBackOfficeConfiguration)
-def BackOfficeConfigurationFactory(context):
+def back_office_configuration_factory(context):
"""Back-office configuration factory"""
annotations = IAnnotations(context)
configuration = annotations.get(SKIN_BACK_CONFIGURATION_KEY)
--- a/src/pyams_skin/extension.py Wed Mar 28 15:37:44 2018 +0200
+++ b/src/pyams_skin/extension.py Wed Mar 28 16:04:18 2018 +0200
@@ -39,7 +39,7 @@
@adapter_config(context=ISiteRoot, provides=IGoogleTagManagerInfo)
-def GoogleTagManagerInfoFactory(context):
+def google_tag_manager_info_factory(context):
"""Google Tag Manager settings factory"""
annotations = IAnnotations(context)
info = annotations.get(GOOGLE_TAGS_INFO_KEY)
@@ -59,7 +59,7 @@
@adapter_config(context=ISiteRoot, provides=IGoogleAnalyticsInfo)
-def GoogleAnalyticsInfoFactory(context):
+def google_analytics_info_factory(context):
"""Google Analytics settings factory"""
annotations = IAnnotations(context)
info = annotations.get(GOOGLE_ANALYTICS_INFO_KEY)
@@ -78,7 +78,7 @@
@adapter_config(context=ISiteRoot, provides=IUserReportInfo)
-def UserReportInfoFactory(context):
+def user_report_info_factory(context):
"""User report settings factory"""
annotations = IAnnotations(context)
info = annotations.get(USER_REPORT_INFO_KEY)