# HG changeset patch # User Thierry Florac # Date 1522245884 -7200 # Node ID 0673948d936e28ddb497280d03169eeca127eea2 # Parent e840b30e8b15749164a6d15123a83fdf5e17a5b6 Renamed factories to use snake_case on functions diff -r e840b30e8b15 -r 0673948d936e 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)