Removed unused connector parameter of Query.build_filter().

Unused since 6fe2b001db.
This commit is contained in:
Mads Jensen 2017-03-18 08:58:50 -04:00 committed by Tim Graham
parent e45633086c
commit 19b8ca5824
1 changed files with 3 additions and 3 deletions

View File

@ -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: