Removed unused loop in Query.change_aliases().

Unknown if it was ever used.
This commit is contained in:
Tim Graham 2016-10-24 11:27:41 -04:00 committed by GitHub
parent 7d51e406bd
commit 19f1321fa4
1 changed files with 0 additions and 4 deletions

View File

@ -809,10 +809,6 @@ class Query(object):
if alias == old_alias:
table_aliases[pos] = new_alias
break
for pos, alias in enumerate(self.tables):
if alias == old_alias:
self.tables[pos] = new_alias
break
self.external_aliases = {change_map.get(alias, alias)
for alias in self.external_aliases}