merge stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 16 Dec 2009 09:11:41 +0100
branchstable
changeset 4125 a32b0dc8575c
parent 4124 8f2f5f0a89e7 (diff)
parent 4123 c309d441c128 (current diff)
child 4127 3b442047db3f
child 4129 887e3edc30c5
merge
--- a/server/sources/rql2sql.py	Tue Dec 15 17:01:33 2009 +0100
+++ b/server/sources/rql2sql.py	Wed Dec 16 09:11:41 2009 +0100
@@ -995,6 +995,7 @@
             return self.keyword_map[value]()
         if constant.type == 'Boolean':
             value = self.dbms_helper.boolean_value(value)
+        if constant.type == 'Substitute':
             _id = constant.value
             if isinstance(_id, unicode):
                 _id = _id.encode()