Commit 5f562fb0 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Iterate safely over dict

Fixes #9633
parent 72b8c0ab
......@@ -296,7 +296,7 @@ def result_sha(self, sha_str, idx):
def activate_proxy(self, idx):
if not self.isHashInSockObjs(self.senders, idx):
return
for key in self.senders:
for key in list(self.senders):
if idx in key:
sender = self.senders[key]
if sender.file_props.type_ != 's':
......
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