Cleanup stable branches

This patch is a vehicle for cleaning up the stable branches. The
patch to master addresses a fix that was missed when [1] was merged.
That patch was created to enable the stable/ussuri branch, but it
included a PEP8 fix which should have been a separate patch that could
have been backported through the stable branches. This patch adds the
missing fix (addresses an alias with import namespace). The backports
of this patch will include the portion of the original PEP8 fix in [1]
starting from before stable/ussuri (i.e. train through newton).

Backports of this patch will add fixes to address other issues recently
found with stable branches due to end-of-life in other projects, such
as neutron.

[1]: https://review.opendev.org/c/x/group-based-policy/+/752338

Change-Id: Idfd8ccc60ed6cd0fffe63064faa3e7eb46cf8cbe
This commit is contained in:
Thomas Bachman 2023-02-26 12:49:53 +00:00
parent 3c8e327665
commit d7ceb5a57c

View File

@ -4485,7 +4485,7 @@ class ApicMechanismDriver(api_plus.MechanismDriver,
def _expand_topology_for_networks(self, session, visited_networks,
visited_router_ids, new_networks):
LOG.debug("Adding networks %s to topology",
[net.id for net in new_networks])
[new_net.id for new_net in new_networks])
added_ids = []
for new_net in new_networks:
if new_net.id not in visited_networks: