Replace oslo_utils.fnmatch with fnmatch

The oslo_utils.fnmatch module was added to solve an issue in py2.7 but
it is no longer required because py2.7 is no longer supported.
The module was deprecated since oslo.utils 4.9.1[1] and the stdlib's
fnmatch module should be used instead.

[1] 4c893c92f551c9dd2a7cfbe7ae8171ad8139df0b

Change-Id: Ieeb0b127b25d8e95905ca4d81a636f2c2da5f05c
This commit is contained in:
Takashi Kajinami 2021-07-06 21:18:30 +09:00
parent de880e801c
commit 0bba69725e

View File

@ -14,6 +14,7 @@
# under the License.
from collections import defaultdict
import fnmatch
import json
import os
import queue
@ -22,7 +23,6 @@ import threading
from oslo_config import cfg
from oslo_log import log as logging
from oslo_service import threadgroup
from oslo_utils import fnmatch
from mistral import context as auth_ctx
from mistral.db.v2 import api as db_api