pep8 cleanup

This commit is contained in:
Ben Nuttall
2015-09-22 09:36:25 +01:00
parent 41c1bfb18f
commit ae1c31e313
3 changed files with 32 additions and 17 deletions

View File

@@ -25,6 +25,8 @@ class GPIODevice(object):
_GPIO_THREADS = set()
def _gpio_threads_shutdown():
while _GPIO_THREADS:
for t in _GPIO_THREADS.copy():
@@ -46,4 +48,3 @@ class GPIOThread(Thread):
self.stopping.set()
self.join()
_GPIO_THREADS.discard(self)