summaryrefslogtreecommitdiff
path: root/src/saml2/httpbase.py
diff options
context:
space:
mode:
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 1c2ebfd7..d7f3f030 100644
--- a/src/saml2/httpbase.py
+++ b/src/saml2/httpbase.py
@@ -196,7 +196,7 @@ class HTTPBase(object):
std_attr["domain"] = _domain
std_attr["domain_specified"] = True
- if morsel["max-age"] is 0:
+ if morsel["max-age"] == 0:
try:
self.cookiejar.clear(domain=std_attr["domain"],
path=std_attr["path"],