From 19b8ca5824b63ba1b46a2c12ccb67af920c5b685 Mon Sep 17 00:00:00 2001 From: Mads Jensen Date: Sat, 18 Mar 2017 08:58:50 -0400 Subject: [PATCH] Removed unused connector parameter of Query.build_filter(). Unused since 6fe2b001dba45134d7c10729c57959995e241a88. --- django/db/models/sql/query.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py index b028d1a1db..3d0e0fa95b 100644 --- a/django/db/models/sql/query.py +++ b/django/db/models/sql/query.py @@ -1116,7 +1116,7 @@ class Query: (name, lhs.output_field.__class__.__name__)) def build_filter(self, filter_expr, branch_negated=False, current_negated=False, - can_reuse=None, connector=AND, allow_joins=True, split_subq=True): + can_reuse=None, allow_joins=True, split_subq=True): """ Build a WhereNode for a single filter clause but don't add it to this Query. Query.add_q() will then add this filter to the where @@ -1268,8 +1268,8 @@ class Query: else: child_clause, needed_inner = self.build_filter( child, can_reuse=used_aliases, branch_negated=branch_negated, - current_negated=current_negated, connector=connector, - allow_joins=allow_joins, split_subq=split_subq, + current_negated=current_negated, allow_joins=allow_joins, + split_subq=split_subq, ) joinpromoter.add_votes(needed_inner) if child_clause: