We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9617003 commit b079fa9Copy full SHA for b079fa9
src/saml2/validate.py
@@ -91,7 +91,7 @@ def validate_on_or_after(not_on_or_after, slack):
91
nooa = calendar.timegm(time_util.str_to_time(not_on_or_after))
92
if now > nooa + slack:
93
raise ResponseLifetimeExceed(
94
- "Can't use it, it's too old %d > %d".format(now - slack, nooa))
+ "Can't use it, it's too old %d > %d" % (now - slack, nooa))
95
return nooa
96
else:
97
return False
0 commit comments