summaryrefslogtreecommitdiff
path: root/django/db/models/sql/where.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-10-12 08:18:56 -0400
committerGitHub <noreply@github.com>2016-10-12 08:18:56 -0400
commita3a10f8abe43c443f217d75153f50b53fbe71be2 (patch)
tree576ed5b7600f02faab1020873c22e67085224a5b /django/db/models/sql/where.py
parente1f6eba033abea25cd6b0577bd66c655ec453325 (diff)
Removed unused SubqueryConstraint.relabel_aliases() and clone() methods.
Unused since b68212f539f206679580afbfd008e7d329c9cd31.
Diffstat (limited to 'django/db/models/sql/where.py')
-rw-r--r--django/db/models/sql/where.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/django/db/models/sql/where.py b/django/db/models/sql/where.py
index c70d34f94f..04e9a7c1bd 100644
--- a/django/db/models/sql/where.py
+++ b/django/db/models/sql/where.py
@@ -214,11 +214,3 @@ class SubqueryConstraint(object):
query_compiler = query.get_compiler(connection=connection)
return query_compiler.as_subquery_condition(self.alias, self.columns, compiler)
-
- def relabel_aliases(self, change_map):
- self.alias = change_map.get(self.alias, self.alias)
-
- def clone(self):
- return self.__class__(
- self.alias, self.columns, self.targets,
- self.query_object)