Conditions | 1 |
Total Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Tests | 1 |
CRAP Score | 1.125 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | # coding: utf-8 |
||
30 | 1 | @classmethod |
|
31 | def from_ini(cls, ini): |
||
32 | return cls({ |
||
33 | 'file_name': field_from_ini( |
||
34 | cls.file_name, ini, |
||
35 | 'game', 'eventlog', |
||
36 | ), |
||
37 | 'keep': field_from_ini( |
||
38 | cls.keep, ini, |
||
39 | 'game', 'eventlogkeep', |
||
40 | ), |
||
41 | 'log_buildings': field_from_ini( |
||
42 | cls.log_buildings, ini, |
||
43 | 'game', 'eventlogHouse', |
||
44 | ), |
||
85 |