From b0978eaf594f6a3b1bebf793310722f92f3fc6d1 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Sat, 1 Sep 2018 13:56:27 +0900 Subject: [PATCH] SQLExpression: Fix typo in method casing. --- product/ZSQLCatalog/SQLExpression.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/product/ZSQLCatalog/SQLExpression.py b/product/ZSQLCatalog/SQLExpression.py index 67abc2c25d..77c99cc45f 100644 --- a/product/ZSQLCatalog/SQLExpression.py +++ b/product/ZSQLCatalog/SQLExpression.py @@ -327,7 +327,7 @@ class SQLExpression(object): """ return SQL_LIST_SEPARATOR.join(str(x) for x in self.getLimit()) - def getGroupByset(self): + def getGroupBySet(self): """ Returns a set of strings. @@ -336,7 +336,7 @@ class SQLExpression(object): """ result = {self._reversed_select_dict.get(x, x) for x in self.group_by_list} for sql_expression in self.sql_expression_list: - result.update(sql_expression.getGroupByset()) + result.update(sql_expression.getGroupBySet()) return result def getGroupByExpression(self): @@ -345,7 +345,7 @@ class SQLExpression(object): Returns a rendered "group by" expression. See getGroupBySet. """ - return SQL_LIST_SEPARATOR.join(self.getGroupByset()) + return SQL_LIST_SEPARATOR.join(self.getGroupBySet()) def getSelectDict(self): """ -- 2.30.9