mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
This is a minimal change which re-orders some bits of CompositeDevice's constructor to ensure that all exceptions get raised *before* we store a reference to the contained devices. Hopefully this'll be enough to sort out 2.x but I'm not sure it will be for pypy (might still require an explicit close there).