fix various bugs found by the 'prospector' static-analysis tool

This commit is contained in:
Andrew Scheller
2016-04-07 16:12:17 +01:00
parent 4f7e1f003e
commit 72ca075668
13 changed files with 33 additions and 34 deletions

View File

@@ -14,7 +14,7 @@ from itertools import chain
from types import FunctionType
from threading import RLock
from .threads import GPIOThread, _threads_shutdown
from .threads import _threads_shutdown
from .mixins import (
ValuesMixin,
SharedMixin,
@@ -26,7 +26,6 @@ from .exc import (
GPIOPinMissing,
GPIOPinInUse,
GPIODeviceClosed,
GPIOBadSourceDelay,
)
# Get a pin implementation to use as the default; we prefer RPi.GPIO's here