plugin_scsi_host: Mark _device_is_supported as a classmethod
This fixes a pylint error. Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
This commit is contained in:
parent
66d550b94d
commit
571910e750
1 changed files with 1 additions and 0 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue