Renamed factories to use snake_case on functions
authorThierry Florac <thierry.florac@onf.fr>
Wed, 28 Mar 2018 16:03:44 +0200
changeset 38 f3acef84eef9
parent 37 c464e51532cc
child 39 632a338ccdd0
Renamed factories to use snake_case on functions
src/pyams_sequence/sequence.py
--- a/src/pyams_sequence/sequence.py	Wed Mar 28 15:36:54 2018 +0200
+++ b/src/pyams_sequence/sequence.py	Wed Mar 28 16:03:44 2018 +0200
@@ -51,7 +51,7 @@
 
 
 @adapter_config(context=ISequentialIdTarget, provides=ISequentialIdInfo)
-def SequentialIdInfoFactory(context):
+def sequential_id_info_factory(context):
     """Sequential ID info factory"""
     annotations = IAnnotations(context)
     info = annotations.get(SEQUENCE_INFO_KEY)