Conditions | 2 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | from synergine.synergy.collection.SynergyCollection import SynergyCollection |
||
11 | def __init__(self, configuration): |
||
12 | super().__init__(configuration) |
||
13 | self._actions = [MakeBeansProfitAction, TooMuchBeansAction, LonelinessSuicideAction] |
||
14 | |||
15 | # hack; to prevent cycle import bug: |
||
16 | Signals.signal(LonelinessSuicideAction).connect(lambda obj, context: \ |
||
17 | context.metas.collections.remove(obj.get_id(), COL_COMPUTABLE)) |
||
18 |