Removed unused list in Query.resolve_lookup_value().

Unneeded since its introduction in 4f138fe5a4.
This commit is contained in:
Nicolas Delaby 2017-09-20 15:50:14 +02:00 committed by Tim Graham
parent f86aa6656a
commit a30ef353e2
1 changed files with 1 additions and 4 deletions

View File

@ -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):