From d3cb91db87b78629c0d2682630e90a048275179e Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Fri, 28 Jan 2022 20:15:53 +0000 Subject: Used more augmented assignment statements. Identified using the following command: $ git grep -I '\(\<[_a-zA-Z0-9]\+\>\) *= *\1 *[-+/*^%&|<>@]' --- django/db/models/sql/compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/db/models/sql/compiler.py') diff --git a/django/db/models/sql/compiler.py b/django/db/models/sql/compiler.py index 318e6b8707..f3b2b3da41 100644 --- a/django/db/models/sql/compiler.py +++ b/django/db/models/sql/compiler.py @@ -2046,7 +2046,7 @@ class SQLAggregateCompiler(SQLCompiler): elide_empty=self.elide_empty, ).as_sql(with_col_aliases=True) sql = "SELECT %s FROM (%s) subquery" % (sql, inner_query_sql) - params = params + inner_query_params + params += inner_query_params return sql, params -- cgit v1.3