Kaydet (Commit) a30ef353 authored tarafından Nicolas Delaby's avatar Nicolas Delaby Kaydeden (comit) Tim Graham

Removed unused list in Query.resolve_lookup_value().

Unneeded since its introduction in 4f138fe5.
üst f86aa665
......@@ -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)
)
sub_value.resolve_expression(self, reuse=can_reuse, allow_joins=allow_joins)
return value
def solve_lookup_type(self, lookup):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment