summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kajinami <tkajinam@redhat.com>2021-07-06 21:19:10 +0900
committerTakashi Kajinami <tkajinam@redhat.com>2021-07-06 21:24:33 +0900
commitb4383147fec4cf3667d3c9c2d79e088780a1498c (patch)
tree0e5f8f14e2b9309321da4ad4e7b60095b9a220d1
parent392487dda55757f27811d6f3369a91ed64171f99 (diff)
downloadpython-heatclient-b4383147fec4cf3667d3c9c2d79e088780a1498c.tar.gz
Replace oslo_utils.fnmatch with fnmatch2.4.0
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
-rw-r--r--heatclient/common/hook_utils.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/heatclient/common/hook_utils.py b/heatclient/common/hook_utils.py
index c08005c..3e91ae3 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