diff options
| author | Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <srinivasreddy@users.noreply.github.com> | 2018-08-14 04:11:24 +0530 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-08-13 18:41:24 -0400 |
| commit | 7eb556a6c2b2ac9313158f8b812eebea02a43f20 (patch) | |
| tree | 16b9642d945beaf0fc30e937eb36147c824c8655 | |
| parent | f5e7506cffc7f2c37718a0ca55de2dedbad3e23a (diff) | |
Removed unused enumerate in django/db/models/sql/datastructures.py.
| -rw-r--r-- | django/db/models/sql/datastructures.py | 2 |
1 files changed, 1 insertions, 1 deletions
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), |
