summaryrefslogtreecommitdiff
path: root/src/saml2/mongo_store.py
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2013-09-19 15:19:57 +0200
committerFredrik Thulin <fredrik@thulin.net>2013-09-19 15:19:57 +0200
commit74ec4a2162a6a3a92699e80571b2562deaa71d0a (patch)
tree31b64da471ae9672976233797fc864c6ebce5f9d /src/saml2/mongo_store.py
parent5fe5c01aab67400320212545c168984eed0d3657 (diff)
downloadpysaml2-74ec4a2162a6a3a92699e80571b2562deaa71d0a.tar.gz
Oops, typo in last commit.
Diffstat (limited to 'src/saml2/mongo_store.py')
-rw-r--r--src/saml2/mongo_store.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/mongo_store.py b/src/saml2/mongo_store.py
index 1442da6d..696cb27b 100644
--- a/src/saml2/mongo_store.py
+++ b/src/saml2/mongo_store.py
@@ -138,7 +138,7 @@ class IdentMDB(IdentDB):
self.mdb.primary_key = "user_id"
def in_store(self, _id):
- if [x for x in self.mdb.get(ident_id=id)]:
+ if [x for x in self.mdb.get(ident_id=_id)]:
return True
else:
return False