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: Ie1601bfe79f744c553c25d7724cc9bf1894bc59b
This commit is contained in:
Takashi Kajinami 2021-07-06 21:12:52 +09:00
parent 35af72a875
commit 52f2ebe6e3
2 changed files with 3 additions and 2 deletions

View File

@ -13,11 +13,11 @@
# License for the specific language governing permissions and limitations
# under the License.
import fnmatch
import types
from oslo_config import cfg
from oslo_log import log
from oslo_utils import fnmatch
from oslo_utils import netutils
from oslo_utils import timeutils
from oslo_utils import units

View File

@ -14,8 +14,9 @@
# under the License.
""" Utility module for EMC Unity Manila Driver """
import fnmatch
from oslo_log import log
from oslo_utils import fnmatch
from oslo_utils import units
from manila import exception