From 571910e7504c96bd073bb20136b24c214b975f49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= Date: Mon, 13 Feb 2017 17:43:49 +0100 Subject: [PATCH] plugin_scsi_host: Mark _device_is_supported as a classmethod MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes a pylint error. Signed-off-by: Ondřej Lysoněk --- tuned/plugins/plugin_scsi_host.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tuned/plugins/plugin_scsi_host.py b/tuned/plugins/plugin_scsi_host.py index 9670866..01c38b7 100644 --- a/tuned/plugins/plugin_scsi_host.py +++ b/tuned/plugins/plugin_scsi_host.py @@ -28,6 +28,7 @@ class DiskPlugin(hotplug.Plugin): self._assigned_devices = set() self._free_devices = self._devices.copy() + @classmethod def _device_is_supported(cls, device): return device.device_type == "scsi_host"