[rql] IS operator killed in rql 0.26.2, use equal instead stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 09 Jun 2010 14:51:00 +0200
branchstable
changeset 5704 924ea48326c4
parent 5703 24ca7615379b
child 5706 c2e8290bc7b7
[rql] IS operator killed in rql 0.26.2, use equal instead
rqlrewrite.py
--- a/rqlrewrite.py	Wed Jun 09 14:44:45 2010 +0200
+++ b/rqlrewrite.py	Wed Jun 09 14:51:00 2010 +0200
@@ -353,7 +353,7 @@
         if need_null_test:
             snippetrqlst = n.Or(
                 n.make_relation(subselectvar, 'is', (None, None), n.Constant,
-                                operator='IS'),
+                                operator='='),
                 snippetrqlst)
         subselect.add_restriction(snippetrqlst)
         if self.u_varname: