From 1f12c5f9979719a56a513afa99c8d9ed19a46f65 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Thu, 1 Feb 2024 16:05:38 +0900 Subject: [PATCH] Remove six from Infortrend driver Change-Id: I47b6e39eaa88e4ba5c47b7ccc973c8a7f43a178a --- cinder/volume/drivers/infortrend/raidcmd_cli/cli_factory.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cinder/volume/drivers/infortrend/raidcmd_cli/cli_factory.py b/cinder/volume/drivers/infortrend/raidcmd_cli/cli_factory.py index 1097c2a080f..07f358182db 100644 --- a/cinder/volume/drivers/infortrend/raidcmd_cli/cli_factory.py +++ b/cinder/volume/drivers/infortrend/raidcmd_cli/cli_factory.py @@ -23,7 +23,6 @@ import time from oslo_concurrency import processutils from oslo_log import log as logging from oslo_utils import strutils -import six from cinder import utils @@ -146,8 +145,7 @@ def content_lines_to_dict(content_lines): return result -@six.add_metaclass(abc.ABCMeta) -class BaseCommand(object): +class BaseCommand(object, metaclass=abc.ABCMeta): """The BaseCommand abstract class."""