server/sources/rql2sql.py
branchstable
changeset 4121 09622a18501c
parent 4114 a75a6e770717
child 4124 8f2f5f0a89e7
--- a/server/sources/rql2sql.py	Tue Dec 15 11:30:44 2009 +0100
+++ b/server/sources/rql2sql.py	Tue Dec 15 12:24:38 2009 +0100
@@ -995,9 +995,6 @@
             return self.keyword_map[value]()
         if constant.type == 'Boolean':
             value = self.dbms_helper.boolean_value(value)
-        elif constant.type == 'Password' or constant.type == 'Bytes':
-            value = self.dbms_helper.binary_value(value)
-        elif constant.type == 'Substitute':
             _id = constant.value
             if isinstance(_id, unicode):
                 _id = _id.encode()