java-topology/defects/neutron/patch/neutron-0002.patch

8 lines
480 B
Diff

--- a/neutron/db/l3_dvrscheduler_db.py
+++ b/neutron/db/l3_dvrscheduler_db.py
@@ -255,7 +255,7 @@ class L3_DVRsch_db_mixin(l3agent_sch_db.L3AgentSchedulerDbMixin):
related_router_ids |= connected_dvr_router_ids
- related_router_ids = [r_id for r_id in related_router_ids
- if r_id not in list(router_ids)]
+ related_router_ids = [r_id for r_id in related_router_ids
+ if r_id not in router_ids]