mirror of
https://github.com/django/django.git
synced 2025-11-29 06:51:10 +00:00
Removed unused loop in Query.change_aliases().
Unknown if it was ever used.
This commit is contained in:
parent
7d51e406bd
commit
19f1321fa4
1 changed files with 0 additions and 4 deletions
|
|
@ -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}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue