Removed unused enumerate in django/db/models/sql/datastructures.py.

This commit is contained in:
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) 2018-08-14 04:11:24 +05:30 committed by Tim Graham
parent f5e7506cff
commit 7eb556a6c2
1 changed files with 1 additions and 1 deletions

View File

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