Skip to content
Snippets Groups Projects
Commit 73a0a3c4a1af authored by Manuel Jacob's avatar Manuel Jacob
Browse files

py3: stop iterating over mutating dict keys

parent e4d28642c012
No related branches found
No related tags found
1 merge request!21Make tests pass on Python 3
Pipeline #5901 passed
......@@ -328,7 +328,7 @@
self._dirs.setdefault(b'', dulobjs.Tree())
# Fill in missing directories.
for path in self._dirs.keys():
for path in list(self._dirs):
parent = os.path.dirname(path)
while parent != b'':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment