From 9ebd8094701174c21d05a2e1f6bdcd2847c5acb3 Mon Sep 17 00:00:00 2001 From: David Murphy Date: Wed, 15 Nov 2023 13:29:00 -0700 Subject: [PATCH] Update salt/utils/odict.py Co-authored-by: Pedro Algarvio --- salt/utils/odict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/utils/odict.py b/salt/utils/odict.py index d4a5cf08783..b60d94aae5e 100644 --- a/salt/utils/odict.py +++ b/salt/utils/odict.py @@ -79,7 +79,7 @@ except (ImportError, AttributeError): "The Salt backport `OrderedDict` class introduced for Python 2 " "has been deprecated, and is set to be removed in {version}. " "Please import `OrderedDict` from `collections`.", - category=FutureWarning, + category=DeprecationWarning ) super().__init__()