Removed unused loop in Query.change_aliases().
Unknown if it was ever used.
This commit is contained in:
parent
7d51e406bd
commit
19f1321fa4
|
@ -809,10 +809,6 @@ class Query(object):
|
||||||
if alias == old_alias:
|
if alias == old_alias:
|
||||||
table_aliases[pos] = new_alias
|
table_aliases[pos] = new_alias
|
||||||
break
|
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)
|
self.external_aliases = {change_map.get(alias, alias)
|
||||||
for alias in self.external_aliases}
|
for alias in self.external_aliases}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue