summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryatinkarel <ykarel@redhat.com>2021-06-30 14:03:37 +0530
committeryatinkarel <ykarel@redhat.com>2021-07-01 10:21:19 +0530
commit4dc538d1c024b94ab629c1ea478fd547f16e85bd (patch)
tree27a3197a386f3eb1a76838075f012b6d7674c77c
parent25e3d5889d6235658bcc21bd85d24ba2c2240c6a (diff)
downloadoslo-utils-4dc538d1c024b94ab629c1ea478fd547f16e85bd.tar.gz
Drop warnings enable filter
[1] Enabled warnings without specifying category, leading to all sort of warnings enabled, this patch drops it and let it to consumers to enable warnings types which they are interested in. [1] https://review.opendev.org/c/openstack/oslo.utils/+/790429 Closes-Bug: #1934098 Change-Id: I822138c18e0932e8f7e3dc62267f167876c962ae
-rw-r--r--oslo_utils/fnmatch.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/oslo_utils/fnmatch.py b/oslo_utils/fnmatch.py
index cdbd74e..91f2562 100644
--- a/oslo_utils/fnmatch.py
+++ b/oslo_utils/fnmatch.py
@@ -16,11 +16,9 @@
"""
import fnmatch as standard_fnmatch
-import warnings
import debtcollector
-warnings.simplefilter("always")
debtcollector.deprecate(
"Using the oslo.utils's 'fnmatch' module is deprecated, "
"please use the stdlib 'fnmatch' module."