# HG changeset patch # User Thierry Florac # Date 1522245041 -7200 # Node ID 39f7e00f9e516a902e5789f8ab6d4ce09b592d47 # Parent 477eb78e8ec16e71be1c999c97a87859947a9295 Renamed factories to use snake_case on functions diff -r 477eb78e8ec1 -r 39f7e00f9e51 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)