Removed unused enumerate in django/db/models/sql/datastructures.py.
This commit is contained in:
parent
f5e7506cff
commit
7eb556a6c2
|
@ -70,7 +70,7 @@ class Join:
|
||||||
qn2 = connection.ops.quote_name
|
qn2 = connection.ops.quote_name
|
||||||
|
|
||||||
# Add a join condition for each pair of joining columns.
|
# Add a join condition for each pair of joining columns.
|
||||||
for index, (lhs_col, rhs_col) in enumerate(self.join_cols):
|
for lhs_col, rhs_col in self.join_cols:
|
||||||
join_conditions.append('%s.%s = %s.%s' % (
|
join_conditions.append('%s.%s = %s.%s' % (
|
||||||
qn(self.parent_alias),
|
qn(self.parent_alias),
|
||||||
qn2(lhs_col),
|
qn2(lhs_col),
|
||||||
|
|
Loading…
Reference in New Issue