Revert "Add more loader dunders to cp module."

This reverts commit 159d9327d1.
This commit is contained in:
Pedro Algarvio 2024-04-15 16:24:38 +01:00
parent ece16ca7ef
commit d8edd611ff
2 changed files with 1 additions and 4 deletions

View file

@ -8,6 +8,3 @@ loader_context = salt.loader.context.LoaderContext()
__file_client__ = loader_context.named_context("__file_client__", default=None)
__context__ = loader_context.named_context("__context__")
__pillar__ = loader_context.named_context("__pillar__")
__grains__ = loader_context.named_context("__grains__")

View file

@ -20,7 +20,7 @@ import salt.utils.path
import salt.utils.templates
import salt.utils.url
from salt.exceptions import CommandExecutionError
from salt.loader.dunder import __context__, __file_client__, __grains__, __pillar__
from salt.loader.dunder import __file_client__
log = logging.getLogger(__name__)