summaryrefslogtreecommitdiff
path: root/kvmd/plugins/hid/otg/device.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-10-03 07:30:14 +0300
committerDevaev Maxim <[email protected]>2020-10-03 07:30:14 +0300
commit400021fc815a84610c620a6d516832dd6f714165 (patch)
tree8302d13e679c9a0d6a4e031f5708a7eba3ff66c3 /kvmd/plugins/hid/otg/device.py
parent8b2a2eb7312c59ed5e543fd7b5cc91ae514e7333 (diff)
lint fix
Diffstat (limited to 'kvmd/plugins/hid/otg/device.py')
-rw-r--r--kvmd/plugins/hid/otg/device.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/plugins/hid/otg/device.py b/kvmd/plugins/hid/otg/device.py
index e4ed5500..e8f3abe7 100644
--- a/kvmd/plugins/hid/otg/device.py
+++ b/kvmd/plugins/hid/otg/device.py
@@ -164,8 +164,8 @@ class BaseDeviceProcess(multiprocessing.Process): # pylint: disable=too-many-in
except Exception as err:
if isinstance(err, OSError) and (
# https://github.com/raspberrypi/linux/commit/61b7f805dc2fd364e0df682de89227e94ce88e25
- err.errno == errno.EAGAIN
- or err.errno == errno.ESHUTDOWN
+ err.errno == errno.EAGAIN # pylint: disable=no-member
+ or err.errno == errno.ESHUTDOWN # pylint: disable=no-member
):
logger.debug("HID-%s busy/unplugged (write): %s: %s",
self.__name, type(err).__name__, err)