src/pyams_portal/portlet.py
changeset 73 22f4640630ba
parent 64 9655802d1230
child 95 b4e5117061d3
--- a/src/pyams_portal/portlet.py	Wed Mar 28 15:34:15 2018 +0200
+++ b/src/pyams_portal/portlet.py	Wed Mar 28 16:02:00 2018 +0200
@@ -293,13 +293,13 @@
 
 
 @adapter_config(context=IPortlet, provides=IPortletConfiguration)
-def PortletConfigurationAdapter(portlet):
+def portlet_configuration_adapter(portlet):
     """Portlet configuration factory"""
     return PortletConfiguration(portlet)
 
 
 @adapter_config(context=IPortletConfiguration, provides=IPortletSettings)
-def PortletConfigurationSettingsAdapter(configuration):
+def portlet_configuration_settings_adapter(configuration):
     """Portlet configuration settings adapter"""
     return configuration.settings