Domain can have length > 3 for child_of
review51002
This commit is contained in:
1 parent
b65a34f552
commit
bf6f632c3c
1 file changed
+1
-1
@@ -180,7 +180,7 @@ class And(object):
|
||||
elif is_leaf(part) and self.base(part[0]) == symbol:
|
||||
result.append(part)
|
||||
else:
|
||||
field, _, _ = part
|
||||
field = part[0]
|
||||
if (field not in context
|
||||
or field in context
|
||||
and eval_leaf(part, context, operator.and_)):
|
||||
|
||||
Reference in new issue
Block a user