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