From a3a10f8abe43c443f217d75153f50b53fbe71be2 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 12 Oct 2016 08:18:56 -0400 Subject: [PATCH] Removed unused SubqueryConstraint.relabel_aliases() and clone() methods. Unused since b68212f539f206679580afbfd008e7d329c9cd31. --- django/db/models/sql/where.py | 8 -------- 1 file changed, 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)