Conditions | 1 |
Total Lines | 18 |
Lines | 0 |
Ratio | 0 % |
Tests | 1 |
CRAP Score | 1.125 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | # coding: utf-8 |
||
35 | 1 | @classmethod |
|
36 | def from_ini(cls, ini): |
||
37 | return cls({ |
||
38 | 'is_disabled': field_from_ini( |
||
39 | cls.is_disabled, ini, |
||
40 | 'NET', 'reflyDisabled', |
||
41 | ), |
||
42 | 'kia_delay': field_from_ini( |
||
43 | cls.kia_delay, ini, |
||
44 | 'NET', 'reflyKIADelay', |
||
45 | ), |
||
46 | 'kia_delay_multiplier': field_from_ini( |
||
47 | cls.kia_delay_multiplier, ini, |
||
48 | 'NET', 'reflyKIADelayMultiplier', |
||
49 | ), |
||
50 | 'max_kia': field_from_ini( |
||
51 | cls.max_kia, ini, |
||
52 | 'NET', 'maxAllowedKIA', |
||
53 | ), |
||
62 |