Skip to content

Commit e43ff95

Browse files
committed
improve naming
1 parent 41bdaca commit e43ff95

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

flag_engine/engine.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,10 @@ def _get_identity_feature_states_dict(
126126
):
127127
for segment_feature_state in context_segment.feature_states:
128128
if (
129-
environment_feature_state := feature_states_by_feature.get(
129+
feature_state := feature_states_by_feature.get(
130130
segment_feature := segment_feature_state.feature
131131
)
132-
) and environment_feature_state.is_higher_segment_priority(
133-
segment_feature_state
134-
):
132+
) and feature_state.is_higher_segment_priority(segment_feature_state):
135133
continue
136134
feature_states_by_feature[segment_feature] = segment_feature_state
137135

0 commit comments

Comments
 (0)