I went with a minimal fix on this. There are other uses of d.keys() in oslo.config but I'm not sure which ones modify the dictionary during iteration. Could change all uses to list(d.keys()) but that would somewhat defeat the purpose of the PEP.
I went with a minimal fix on this. There are other uses of d.keys() in oslo.config but I'm not sure which ones modify the dictionary during iteration. Could change all uses to list(d.keys()) but that would somewhat defeat the purpose of the PEP.