diff options
author | dengzhaosen <dengzhaosen@inspur.com> | 2021-04-28 10:03:19 +0800 |
---|---|---|
committer | Jorhson Deng <dengzhaosen@inspur.com> | 2021-05-11 01:02:11 +0000 |
commit | 39826f06f1159080324edd794dc3d9cc893c297f (patch) | |
tree | e5b7f7aa0679619e0f93047d4f5aadf4f2e436ac /oslo_messaging/notify/_impl_routing.py | |
parent | 7e406c312a6514e7ae377edb52b9e02b5bf37a7d (diff) | |
download | oslo-messaging-39826f06f1159080324edd794dc3d9cc893c297f.tar.gz |
Remove the oslo_utils.fnmatch
Oslo.utils's fnmatch module was added to fix the py2.7 fnmatch module
who was not thread safe [1]. Python 2.7 is no longer supported so now we
can use the stdlib's fnmatch module and deprecate the one of oslo.utils.
[1] https://bugs.python.org/issue23191$
Change-Id: Id5381a0a5216783f0df594b126786947db16a8d1
Diffstat (limited to 'oslo_messaging/notify/_impl_routing.py')
-rw-r--r-- | oslo_messaging/notify/_impl_routing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_messaging/notify/_impl_routing.py b/oslo_messaging/notify/_impl_routing.py index 0731039..548d4f5 100644 --- a/oslo_messaging/notify/_impl_routing.py +++ b/oslo_messaging/notify/_impl_routing.py @@ -13,10 +13,10 @@ # License for the specific language governing permissions and limitations # under the License. +import fnmatch import logging from oslo_config import cfg -from oslo_utils import fnmatch from stevedore import dispatch import yaml |