Skip to content

Commit 1bd96ab

Browse files
chillaqsanzmauro
andauthored
Update splitio/models/grammar/matchers/rule_based_segment.py
Co-authored-by: Mauro Sanz <51236193+sanzmauro@users.noreply.github.com>
1 parent 333919c commit 1bd96ab

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

splitio/models/grammar/matchers/rule_based_segment.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,4 @@ def _match_dep_rb_segments(self, excluded_rb_segments, key, attributes, context)
6868
if self._match_dep_rb_segments(excluded_segment.excluded.get_excluded_segments(), key, attributes, context):
6969
return True
7070

71-
if self._match_conditions(excluded_segment.conditions, key, attributes, context):
72-
return True
73-
74-
return False
71+
return self._match_conditions(excluded_segment.conditions, key, attributes, context)

0 commit comments

Comments
 (0)