Commit beebc76b authored by Vincent Pelletier's avatar Vincent Pelletier

Fix typo.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15335 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3f9b0548
...@@ -404,7 +404,7 @@ class Query(QueryMixin): ...@@ -404,7 +404,7 @@ class Query(QueryMixin):
escaped_value_string = ', '.join(escaped_value_list) escaped_value_string = ', '.join(escaped_value_list)
where_expression.append("%s IN (%s)" % (key, escaped_value_string)) where_expression.append("%s IN (%s)" % (key, escaped_value_string))
else: else:
where_expression.('0') # "foo IN ()" is invalid SQL syntax, so use a "false" value. where_expression.append('0') # "foo IN ()" is invalid SQL syntax, so use a "false" value.
else: else:
where_expression.append("%s = %s" % where_expression.append("%s = %s" %
(self._quoteSQLKey(key), self._quoteSQLString(value))) (self._quoteSQLKey(key), self._quoteSQLString(value)))
......
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