Merge "Deprecate the fnmatch module."
This commit is contained in:
commit
d4a00db7c1
|
@ -24,6 +24,15 @@ import os
|
|||
import posixpath
|
||||
import re
|
||||
import sys
|
||||
import warnings
|
||||
|
||||
import debtcollector
|
||||
|
||||
warnings.simplefilter("always")
|
||||
debtcollector.deprecate(
|
||||
"Using the oslo.utils's 'fnmatch' module is deprecate, "
|
||||
"please use the stdlib `fnmatch` module."
|
||||
)
|
||||
|
||||
|
||||
if sys.version_info > (2, 7, 9):
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
deprecations:
|
||||
- |
|
||||
Oslo.utils's ``fnmatch`` module is deprecated, please use the stdlib
|
||||
``fnmatch`` module which is thread safe for python 3+.
|
Loading…
Reference in New Issue