summaryrefslogtreecommitdiff
path: root/src/saml2/httpbase.py
diff options
context:
space:
mode:
authorRoland Hedberg <roland.hedberg@adm.umu.se>2013-01-31 12:13:14 +0100
committerRoland Hedberg <roland.hedberg@adm.umu.se>2013-01-31 12:13:14 +0100
commit835c6d93a1427a03355ad707963eedb8ff9796ea (patch)
tree26da95f56f68570b2c0f8f5f1a34d8b0737a1519 /src/saml2/httpbase.py
parente6bc6701d97a846f22b19661d3cd189f898ee111 (diff)
downloadpysaml2-835c6d93a1427a03355ad707963eedb8ff9796ea.tar.gz
Cookie expire parameter may be None (= for ever).
Diffstat (limited to 'src/saml2/httpbase.py')
-rw-r--r--src/saml2/httpbase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/httpbase.py b/src/saml2/httpbase.py
index 4b016472..0eb66661 100644
--- a/src/saml2/httpbase.py
+++ b/src/saml2/httpbase.py
@@ -104,7 +104,7 @@ class HTTPBase(object):
for _, b in a.items():
for cookie in list(b.values()):
# print cookie
- if cookie.expires <= now:
+ if cookie.expires and cookie.expires <= now:
continue
if not re.match(cookie.path, part.path):
continue