Domain can have length > 3 for child_of

review51002
This commit is contained in:
Cédric Krier committed 2011-07-03 13:29:52 +02:00
1 parent b65a34f552
commit bf6f632c3c
1 file changed
+1 -1
+1 -1
View File
@@ -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_)):