]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: change warn_explicit to warn 30075/head
authorErnesto Puerta <epuertat@redhat.com>
Mon, 2 Sep 2019 14:37:52 +0000 (16:37 +0200)
committerErnesto Puerta <epuertat@redhat.com>
Mon, 2 Sep 2019 14:58:52 +0000 (16:58 +0200)
Fixes: https://tracker.ceph.com/issues/41600
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
src/pybind/mgr/dashboard/services/sso.py

index 7cfe4e3f1da6d578e7b323d56378912e0a5e397d..0cb8debc4a62157fe66ff3c3fd57d0fdcce8dd65 100644 (file)
@@ -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)