Skip to content
Commit 8888a78b authored by Douglas Raillard's avatar Douglas Raillard
Browse files

exekall._utils: Fix OrderedSet.__init__() parameter usage

Make sure to only iterate once over the data passed to __init__(). Internal
methods of collections.abc.Set will call it with generators, so they can only
yield once. The second time they will be iterated over, they will be like an
empty sequence. This was breaking set difference, thereby breaking --share.
parent 174645a5
Loading
Loading
Loading
Loading
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