Commit 826e9d99 authored by Christian Boltz's avatar Christian Boltz

fix "dictionary changed size during iteration" in

Acked-by: default avatarSeth Arnold <>
parent 3a510652
......@@ -144,7 +144,7 @@ def delete_net_duplicates(netrules, netrules_other, same_profile=True):
deleted += 1
for sock_type in netrules_other['rule'][fam].keys():
for sock_type in list(netrules_other['rule'][fam].keys()):
if netrules['rule'].get(fam, False):
if netrules['rule'][fam].get(sock_type, False):
if not same_profile:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment