summaryrefslogtreecommitdiff
path: root/src/saml2/cache.py
diff options
context:
space:
mode:
authorClint Byrum <clint@fewbar.com>2015-05-24 10:22:18 -0700
committerClint Byrum <clint@fewbar.com>2015-05-28 09:50:57 -0700
commit38c250d8f1c08d440dd4bd9e6059a88097e427b0 (patch)
tree66ff34d9fca4f6cd519b7cb9353e04a3921520f9 /src/saml2/cache.py
parent35f19393029ecdc5b52197d5390d33aba84b7c4d (diff)
downloadpysaml2-38c250d8f1c08d440dd4bd9e6059a88097e427b0.tar.gz
Fix python3 simple cache test failures
Minor differences in format/% and lists-as-views fixes.
Diffstat (limited to 'src/saml2/cache.py')
-rw-r--r--src/saml2/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/cache.py b/src/saml2/cache.py
index 4f11acd0..dfb45b0a 100644
--- a/src/saml2/cache.py
+++ b/src/saml2/cache.py
@@ -96,7 +96,7 @@ class Cache(object):
cni = code(name_id)
(timestamp, info) = self._db[cni][entity_id]
if check_not_on_or_after and time_util.after(timestamp):
- raise ToOld("past %s" % timestamp)
+ raise ToOld("past %s" % str(timestamp))
return info or None