Remove the last occurrence of six.add_metaclass

Change-Id: Ide428268f52527972165ab59ac6e3da0688968f4
This commit is contained in:
Cyril Roelandt 2023-06-22 15:49:49 +02:00
parent d47803613d
commit 11061d5b5a
1 changed files with 1 additions and 3 deletions

View File

@ -20,7 +20,6 @@ import glance_store as store_api
from glance_store import backend
from oslo_config import cfg
from oslo_log import log as logging
import six
from taskflow import task
from glance.common import exception
@ -31,8 +30,7 @@ LOG = logging.getLogger(__name__)
CONF = cfg.CONF
@six.add_metaclass(abc.ABCMeta)
class BaseDownload(task.Task):
class BaseDownload(task.Task, metaclass=abc.ABCMeta):
default_provides = 'file_uri'