Commit 122d9f68 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[rql rewriter] don't add unnecessary (potentially buggy) exists

branch : stable
parent 5406c963ee81
......@@ -252,6 +252,7 @@ class RQLRewriter(object):
self._insert_scope = None
if not isinstance(new, (n.Exists, n.Not)):
new = n.Exists(new)
if parent is None:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment