summaryrefslogtreecommitdiff
path: root/oslo_utils
diff options
context:
space:
mode:
Diffstat (limited to 'oslo_utils')
-rw-r--r--oslo_utils/fnmatch.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/oslo_utils/fnmatch.py b/oslo_utils/fnmatch.py
index 71439ab..c52cf05 100644
--- a/oslo_utils/fnmatch.py
+++ b/oslo_utils/fnmatch.py
@@ -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):