From b4383147fec4cf3667d3c9c2d79e088780a1498c Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 6 Jul 2021 21:19:10 +0900 Subject: [PATCH] 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: I95535adeb45363500b3ed9729bb61cb4308d23b9 --- heatclient/common/hook_utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/heatclient/common/hook_utils.py b/heatclient/common/hook_utils.py index c08005cf..3e91ae3b 100644 --- a/heatclient/common/hook_utils.py +++ b/heatclient/common/hook_utils.py @@ -10,10 +10,9 @@ # License for the specific language governing permissions and limitations # under the License. +import fnmatch import logging -from oslo_utils import fnmatch - from heatclient._i18n import _ from heatclient import exc