diff options
author | Nick Pope <nick@nickpope.me.uk> | 2022-01-28 20:15:53 +0000 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-10-31 12:30:13 +0100 |
commit | d3cb91db87b78629c0d2682630e90a048275179e (patch) | |
tree | 92476354cbb4df1bcff3cd1514a1bac6cbc98676 /django/db/models/sql/compiler.py | |
parent | a320aab5129f4019b3c1d28b7a3b509582bc56f9 (diff) | |
download | django-d3cb91db87b78629c0d2682630e90a048275179e.tar.gz |
Used more augmented assignment statements.
Identified using the following command:
$ git grep -I '\(\<[_a-zA-Z0-9]\+\>\) *= *\1 *[-+/*^%&|<>@]'
Diffstat (limited to 'django/db/models/sql/compiler.py')
-rw-r--r-- | django/db/models/sql/compiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |