Renamed factories to use snake_case on functions
authorThierry Florac <thierry.florac@onf.fr>
Wed, 28 Mar 2018 16:04:44 +0200
changeset 55 0673948d936e
parent 54 e840b30e8b15
child 56 866affb740b3
Renamed factories to use snake_case on functions
src/pyams_thesaurus/thesaurus.py
--- a/src/pyams_thesaurus/thesaurus.py	Wed Mar 28 15:38:33 2018 +0200
+++ b/src/pyams_thesaurus/thesaurus.py	Wed Mar 28 16:04:44 2018 +0200
@@ -291,7 +291,7 @@
 
 
 @adapter_config(context=IThesaurus, provides=IThesaurusExtracts)
-def ThesaurusExtractsFactory(context):
+def thesaurus_extracts_factory(context):
     """Thesaurus extracts factory"""
     annotations = IAnnotations(context)
     extracts = annotations.get(THESAURUS_EXTRACTS_KEY)