[rql] more update to 0.26.2 api stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 09 Jun 2010 14:31:12 +0200
branchstable
changeset 5702 9fb240cf0f61
parent 5701 41119f034735
child 5703 24ca7615379b
[rql] more update to 0.26.2 api
__pkginfo__.py
debian/control
server/sources/rql2sql.py
--- a/__pkginfo__.py	Wed Jun 09 14:21:08 2010 +0200
+++ b/__pkginfo__.py	Wed Jun 09 14:31:12 2010 +0200
@@ -42,7 +42,7 @@
 __depends__ = {
     'logilab-common': '>= 0.50.2',
     'logilab-mtconverter': '>= 0.6.0',
-    'rql': '>= 0.26.0',
+    'rql': '>= 0.26.2',
     'yams': '>= 0.28.1',
     'docutils': '>= 0.6',
     #gettext                    # for xgettext, msgcat, etc...
--- a/debian/control	Wed Jun 09 14:21:08 2010 +0200
+++ b/debian/control	Wed Jun 09 14:31:12 2010 +0200
@@ -97,7 +97,7 @@
 Package: cubicweb-common
 Architecture: all
 XB-Python-Version: ${python:Versions}
-Depends: ${python:Depends}, graphviz, gettext, python-logilab-mtconverter (>= 0.6.0), python-logilab-common (>= 0.50.2), python-yams (>= 0.29.0), python-rql (>= 0.26.1), python-lxml
+Depends: ${python:Depends}, graphviz, gettext, python-logilab-mtconverter (>= 0.6.0), python-logilab-common (>= 0.50.2), python-yams (>= 0.29.0), python-rql (>= 0.26.2), python-lxml
 Recommends: python-simpletal (>= 4.0), python-crypto
 Conflicts: cubicweb-core
 Replaces: cubicweb-core
--- a/server/sources/rql2sql.py	Wed Jun 09 14:21:08 2010 +0200
+++ b/server/sources/rql2sql.py	Wed Jun 09 14:31:12 2010 +0200
@@ -1026,7 +1026,7 @@
             lhs = None
             rhs = cmp.children[0]
         operator = cmp.operator
-        if operator in ('IS', 'LIKE', 'ILIKE'):
+        if operator in ('LIKE', 'ILIKE'):
             if operator == 'ILIKE' and not self.dbhelper.ilike_support:
                 operator = ' LIKE '
             else: