diff options
| author | Mads Jensen <mje@inducks.org> | 2017-03-18 08:58:50 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-03-18 09:04:56 -0400 |
| commit | 19b8ca5824b63ba1b46a2c12ccb67af920c5b685 (patch) | |
| tree | 95b9a687025df921bf6035d790be90f65a6a9eff /django/db/models/sql/query.py | |
| parent | e45633086c9121b600c1d8fb9c63ec4421fd3f8c (diff) | |
Removed unused connector parameter of Query.build_filter().
Unused since 6fe2b001dba45134d7c10729c57959995e241a88.
Diffstat (limited to 'django/db/models/sql/query.py')
| -rw-r--r-- | django/db/models/sql/query.py | 6 |
1 files 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: |
