equal
deleted
inserted
replaced
31 |
31 |
32 from soc.logic import dicts |
32 from soc.logic import dicts |
33 from soc.logic import out_of_band |
33 from soc.logic import out_of_band |
34 |
34 |
35 |
35 |
|
36 class Error(Exception): |
|
37 """Base class for all exceptions raised by this module.""" |
|
38 pass |
|
39 |
|
40 |
36 class Logic: |
41 class Logic: |
37 """Base logic for entity classes. |
42 """Base logic for entity classes. |
38 |
43 |
39 The BaseLogic class functions specific to Entity classes by relying |
44 The BaseLogic class functions specific to Entity classes by relying |
40 on the the child-classes to implement _model, _name and _key_name |
45 on the the child-classes to implement _model, _name and _key_name |