Removed unused SubqueryConstraint.relabel_aliases() and clone() methods.

Unused since b68212f539.
This commit is contained in:
Tim Graham 2016-10-12 08:18:56 -04:00 committed by GitHub
parent e1f6eba033
commit a3a10f8abe
1 changed files with 0 additions and 8 deletions

View File

@ -214,11 +214,3 @@ class SubqueryConstraint(object):
query_compiler = query.get_compiler(connection=connection) query_compiler = query.get_compiler(connection=connection)
return query_compiler.as_subquery_condition(self.alias, self.columns, compiler) 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)