Kaydet (Commit) 4e9a6c94 authored tarafından Anssi Kääriäinen's avatar Anssi Kääriäinen

Removed extra enumerate() from Query.setup_joins()

üst c56c42b5
...@@ -1478,7 +1478,7 @@ class Query(object): ...@@ -1478,7 +1478,7 @@ class Query(object):
# Then, add the path to the query's joins. Note that we can't trim # Then, add the path to the query's joins. Note that we can't trim
# joins at this stage - we will need the information about join type # joins at this stage - we will need the information about join type
# of the trimmed joins. # of the trimmed joins.
for pos, join in enumerate(path): for join in path:
opts = join.to_opts opts = join.to_opts
if join.direct: if join.direct:
nullable = self.is_nullable(join.join_field) nullable = self.is_nullable(join.join_field)
......
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