mirror of
https://github.com/django/django.git
synced 2025-04-28 19:24:37 +00:00
Removed unused list in Query.resolve_lookup_value().
Unneeded since its introduction in 4f138fe5a496a81115c4fba6615a517fc62c3b17.
This commit is contained in:
parent
f86aa6656a
commit
a30ef353e2
@ -974,12 +974,9 @@ class Query:
|
|||||||
elif isinstance(value, (list, tuple)):
|
elif isinstance(value, (list, tuple)):
|
||||||
# The items of the iterable may be expressions and therefore need
|
# The items of the iterable may be expressions and therefore need
|
||||||
# to be resolved independently.
|
# to be resolved independently.
|
||||||
processed_values = []
|
|
||||||
for sub_value in value:
|
for sub_value in value:
|
||||||
if hasattr(sub_value, 'resolve_expression'):
|
if hasattr(sub_value, 'resolve_expression'):
|
||||||
processed_values.append(
|
sub_value.resolve_expression(self, reuse=can_reuse, allow_joins=allow_joins)
|
||||||
sub_value.resolve_expression(self, reuse=can_reuse, allow_joins=allow_joins)
|
|
||||||
)
|
|
||||||
return value
|
return value
|
||||||
|
|
||||||
def solve_lookup_type(self, lookup):
|
def solve_lookup_type(self, lookup):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user