From 7eb556a6c2b2ac9313158f8b812eebea02a43f20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Srinivas=20Reddy=20Thatiparthy=20=28=E0=B0=B6=E0=B1=8D?= =?UTF-8?q?=E0=B0=B0=E0=B1=80=E0=B0=A8=E0=B0=BF=E0=B0=B5=E0=B0=BE=E0=B0=B8?= =?UTF-8?q?=E0=B1=8D=20=E0=B0=B0=E0=B1=86=E0=B0=A1=E0=B1=8D=E0=B0=A1?= =?UTF-8?q?=E0=B0=BF=20=E0=B0=A4=E0=B0=BE=E0=B0=9F=E0=B0=BF=E0=B0=AA?= =?UTF-8?q?=E0=B0=B0=E0=B1=8D=E0=B0=A4=E0=B0=BF=29?= Date: Tue, 14 Aug 2018 04:11:24 +0530 Subject: [PATCH] Removed unused enumerate in django/db/models/sql/datastructures.py. --- django/db/models/sql/datastructures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/models/sql/datastructures.py b/django/db/models/sql/datastructures.py index ab02f65042..9c3bb05e89 100644 --- a/django/db/models/sql/datastructures.py +++ b/django/db/models/sql/datastructures.py @@ -70,7 +70,7 @@ class Join: qn2 = connection.ops.quote_name # 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' % ( qn(self.parent_alias), qn2(lhs_col),