Commit d4a61f29 authored by Sebastien Robin's avatar Sebastien Robin

sorry, I forgot to remove logs

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13981 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 517c49bd
......@@ -336,15 +336,10 @@ class Query(QueryMixin):
if isSimpleType(value) or isinstance(value, DateTime):
value_list = [value]
# For security.
LOG('SQLCatalog.Query value_list',0,value_list)
for value in value_list:
comparison_operator = None
if (value != '' or not ignore_empty_string) \
and isinstance(value, basestring):
LOG('SQLCatalog,Query value:',0,value)
LOG('SQLCatalog,Query value after quote:',0,value)
LOG('SQLCatalog,Query format:',0,self.getFormat())
LOG('SQLCatalog,Query type:',0,self.getType())
if '%' in value:
comparison_operator = 'LIKE'
elif len(value) >= 1 and value[0:2] in ('<=','!=','>='):
......
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