Skip to content

Commit 67b9610

Browse files
committed
Update the yaml dependency on satosa.plugin_loader module
Signed-off-by: Ivan Kanakarakis <[email protected]>
1 parent 22f5a8d commit 67b9610

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/satosa/plugin_loader.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
from contextlib import contextmanager
88
from pydoc import locate
99

10-
import yaml
11-
from yaml.error import YAMLError
10+
from satosa.yaml import load as yaml_load
11+
from satosa.yaml import YAMLError
1212

1313
from .backends.base import BackendModule
1414
from .exception import SATOSAConfigurationError
@@ -143,7 +143,7 @@ def _response_micro_service_filter(cls):
143143

144144
def _load_plugin_config(config):
145145
try:
146-
return yaml.safe_load(config)
146+
return yaml_load(config)
147147
except YAMLError as exc:
148148
if hasattr(exc, 'problem_mark'):
149149
mark = exc.problem_mark

0 commit comments

Comments
 (0)