equal
deleted
inserted
replaced
115 return LD_PowerRail(viewer, powerrail_type, id, |
115 return LD_PowerRail(viewer, powerrail_type, id, |
116 specific_values.connectors) |
116 specific_values.connectors) |
117 return powerRailCreationFunction |
117 return powerRailCreationFunction |
118 |
118 |
119 |
119 |
120 NEGATED_VALUE = lambda x: x if x is not None else False |
120 def NEGATED_VALUE(x): |
121 MODIFIER_VALUE = lambda x: x if x is not None else 'none' |
121 return x if x is not None else False |
|
122 |
|
123 |
|
124 def MODIFIER_VALUE(x): |
|
125 return x if x is not None else 'none' |
|
126 |
122 |
127 |
123 CONTACT_TYPES = {(True, "none"): CONTACT_REVERSE, |
128 CONTACT_TYPES = {(True, "none"): CONTACT_REVERSE, |
124 (False, "rising"): CONTACT_RISING, |
129 (False, "rising"): CONTACT_RISING, |
125 (False, "falling"): CONTACT_FALLING} |
130 (False, "falling"): CONTACT_FALLING} |
126 |
131 |