Commit dd7bb256 authored by Vincent Pelletier's avatar Vincent Pelletier

getQuery was removed long ago, and callers have never been updated. As they...

getQuery was removed long ago, and callers have never been updated. As they are present only in error paths, they went unnoticed until now.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25968 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c2575f94
......@@ -127,8 +127,8 @@ class SQLExpression(object):
message = message + '. I was created by %r, and I am working on %r (%r) out of [%s]' % (
self.query,
sql_expression,
sql_expression.getQuery(),
', '.join('%r (%r)' % (x, x.getQuery()) for x in self.sql_expression_list))
sql_expression.query,
', '.join('%r (%r)' % (x, x.query) for x in self.sql_expression_list))
raise ValueError, message
result[alias] = table_name
return result
......@@ -151,8 +151,8 @@ class SQLExpression(object):
message = message + '. I was created by %r, and I am working on %r (%r) out of [%s]' % (
self.query,
sql_expression,
sql_expression.getQuery(),
', '.join('%r (%r)' % (x, x.getQuery()) for x in self.sql_expression_list))
sql_expression.query,
', '.join('%r (%r)' % (x, x.query) for x in self.sql_expression_list))
raise ValueError, message
return result
......@@ -189,8 +189,8 @@ class SQLExpression(object):
message = message + '. I was created by %r, and I am working on %r (%r) out of [%s]' % (
self.query,
sql_expression,
sql_expression.getQuery(),
', '.join('%r (%r)' % (x, x.getQuery()) for x in self.sql_expression_list))
sql_expression.query,
', '.join('%r (%r)' % (x, x.query) for x in self.sql_expression_list))
raise ValueError, message
result_dict.update(order_by_dict)
return result_dict
......@@ -247,8 +247,8 @@ class SQLExpression(object):
message = message + '. I was created by %r, and I am working on %r (%r) out of [%s]' % (
self.query,
sql_expression,
sql_expression.getQuery(),
', '.join('%r (%r)' % (x, x.getQuery()) for x in self.sql_expression_list))
sql_expression.query,
', '.join('%r (%r)' % (x, x.query) for x in self.sql_expression_list))
raise ValueError, message
return result
......@@ -304,8 +304,8 @@ class SQLExpression(object):
message = message + '. I was created by %r, and I am working on %r (%r) out of [%s]' % (
self.query,
sql_expression,
sql_expression.getQuery(),
', '.join('%r (%r)' % (x, x.getQuery()) for x in self.sql_expression_list))
sql_expression.query,
', '.join('%r (%r)' % (x, x.query) for x in self.sql_expression_list))
raise ValueError, message
result[alias] = column
return result
......
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