From 9a6ab55c3bd26c496efec51e269b866bf0273324 Mon Sep 17 00:00:00 2001 From: cmcmarrow Date: Mon, 10 Apr 2023 12:21:13 -0500 Subject: [PATCH] remove dead line --- salt/matchers/compound_match.py | 1 - salt/matchers/nodegroup_match.py | 1 - salt/modules/match.py | 1 - 3 files changed, 3 deletions(-) diff --git a/salt/matchers/compound_match.py b/salt/matchers/compound_match.py index 538d2f92a37..2bce58f117a 100644 --- a/salt/matchers/compound_match.py +++ b/salt/matchers/compound_match.py @@ -22,7 +22,6 @@ def _load_matchers(opts): """ Store matchers in __context__ so they're only loaded once """ - __context__["matchers"] = {} __context__["matchers"] = salt.loader.matchers(opts) diff --git a/salt/matchers/nodegroup_match.py b/salt/matchers/nodegroup_match.py index 1ce621510fb..c2b57dc612f 100644 --- a/salt/matchers/nodegroup_match.py +++ b/salt/matchers/nodegroup_match.py @@ -14,7 +14,6 @@ def _load_matchers(opts): """ Store matchers in __context__ so they're only loaded once """ - __context__["matchers"] = {} __context__["matchers"] = salt.loader.matchers(opts) diff --git a/salt/modules/match.py b/salt/modules/match.py index a6775a4916d..7c7f6d933ea 100644 --- a/salt/modules/match.py +++ b/salt/modules/match.py @@ -22,7 +22,6 @@ def _load_matchers(): """ Store matchers in __context__ so they're only loaded once """ - __context__["matchers"] = {} __context__["matchers"] = salt.loader.matchers(__opts__)