From bc650aae8d181e992fd77a84677b75f26f245c24 Mon Sep 17 00:00:00 2001 From: Ernesto Puerta Date: Mon, 2 Sep 2019 16:37:52 +0200 Subject: [PATCH] mgr/dashboard: change warn_explicit to warn Fixes: https://tracker.ceph.com/issues/41600 Signed-off-by: Ernesto Puerta --- src/pybind/mgr/dashboard/services/sso.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/services/sso.py b/src/pybind/mgr/dashboard/services/sso.py index 7cfe4e3f1da6d..0cb8debc4a621 100644 --- a/src/pybind/mgr/dashboard/services/sso.py +++ b/src/pybind/mgr/dashboard/services/sso.py @@ -197,7 +197,7 @@ def handle_sso_command(cmd): sp_private_key = '' if os.path.isfile(idp_metadata): - warnings.warn_explicit( + warnings.warn( "Please prepend 'file://' to indicate a local SAML2 IdP file", DeprecationWarning) with open(idp_metadata, 'r') as f: idp_settings = Saml2Parser.parse(f.read(), entity_id=idp_entity_id) -- 2.39.5