From 4dc538d1c024b94ab629c1ea478fd547f16e85bd Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Wed, 30 Jun 2021 14:03:37 +0530 Subject: 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 --- oslo_utils/fnmatch.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'oslo_utils') 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." -- cgit v1.2.1