Skip to content

Commit 456045d

Browse files
committed
changed message text for improved failure experience; removed unused get_eptid()
1 parent b4d9ece commit 456045d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

example/idp2/idp.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
from mako.lookup import TemplateLookup
5050

5151
logger = logging.getLogger("saml2.idp")
52-
52+
logger.setLevel(logging.WARNING)
5353

5454
class Cache(object):
5555
def __init__(self):
@@ -73,11 +73,6 @@ def _expiration(timeout, tformat="%a, %d-%b-%Y %H:%M:%S GMT"):
7373
return time_util.in_a_while(minutes=timeout, format=tformat)
7474

7575

76-
def get_eptid(idp, req_info, session):
77-
return idp.eptid.get(idp.config.entityid,
78-
req_info.sender(), session["permanent_id"],
79-
session["authn_auth"])
80-
8176
# -----------------------------------------------------------------------------
8277

8378

0 commit comments

Comments
 (0)