From 16946d1e0f434a5f479d72cec2ab2ed2a7590538 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Wed, 30 Sep 2020 14:12:09 +0300 Subject: refactoring --- kvmd/plugins/atx/gpio.py | 1 - kvmd/plugins/hid/otg/__init__.py | 1 - kvmd/plugins/hid/serial.py | 2 -- kvmd/plugins/msd/relay.py | 2 -- kvmd/plugins/ugpio/hidrelay.py | 1 - 5 files changed, 7 deletions(-) (limited to 'kvmd/plugins') diff --git a/kvmd/plugins/atx/gpio.py b/kvmd/plugins/atx/gpio.py index d26f28a7..52a52151 100644 --- a/kvmd/plugins/atx/gpio.py +++ b/kvmd/plugins/atx/gpio.py @@ -36,7 +36,6 @@ from ...yamlconf import Option from ...validators.basic import valid_bool from ...validators.basic import valid_float_f0 from ...validators.basic import valid_float_f01 - from ...validators.hw import valid_gpio_pin from . import AtxIsBusyError diff --git a/kvmd/plugins/hid/otg/__init__.py b/kvmd/plugins/hid/otg/__init__.py index b9c2c5b8..adbabfb9 100644 --- a/kvmd/plugins/hid/otg/__init__.py +++ b/kvmd/plugins/hid/otg/__init__.py @@ -33,7 +33,6 @@ from ....yamlconf import Option from ....validators.basic import valid_bool from ....validators.basic import valid_int_f1 from ....validators.basic import valid_float_f01 - from ....validators.os import valid_abs_path from .. import BaseHid diff --git a/kvmd/plugins/hid/serial.py b/kvmd/plugins/hid/serial.py index 594bf4ef..c7c1164d 100644 --- a/kvmd/plugins/hid/serial.py +++ b/kvmd/plugins/hid/serial.py @@ -54,9 +54,7 @@ from ...validators.basic import valid_bool from ...validators.basic import valid_int_f0 from ...validators.basic import valid_int_f1 from ...validators.basic import valid_float_f01 - from ...validators.os import valid_abs_path - from ...validators.hw import valid_tty_speed from ...validators.hw import valid_gpio_pin_optional diff --git a/kvmd/plugins/msd/relay.py b/kvmd/plugins/msd/relay.py index f4ecc6ab..d1d91841 100644 --- a/kvmd/plugins/msd/relay.py +++ b/kvmd/plugins/msd/relay.py @@ -47,9 +47,7 @@ from ...yamlconf import Option from ...validators.basic import valid_int_f1 from ...validators.basic import valid_float_f01 - from ...validators.os import valid_abs_path - from ...validators.hw import valid_gpio_pin from . import MsdError diff --git a/kvmd/plugins/ugpio/hidrelay.py b/kvmd/plugins/ugpio/hidrelay.py index 32c4a3eb..4341e6ac 100644 --- a/kvmd/plugins/ugpio/hidrelay.py +++ b/kvmd/plugins/ugpio/hidrelay.py @@ -36,7 +36,6 @@ from ... import aiotools from ...yamlconf import Option from ...validators.basic import valid_float_f01 - from ...validators.os import valid_abs_path from . import GpioDriverOfflineError -- cgit v1.2.3