summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjschneider <jschneider@3ed937ae-f919-0410-9a43-8e6f19e4ba6e>2009-10-09 15:50:10 (GMT)
committerjschneider <jschneider@3ed937ae-f919-0410-9a43-8e6f19e4ba6e>2009-10-09 15:50:10 (GMT)
commitcae1c5d7867257cc94577c73c79e2c983c281eba (patch)
tree68e7113031ec9459678c5176f46134d9d1834160
parent99532c2f49054e52077924d68f038499efb6bbab (diff)
downloadlarpe-cae1c5d7867257cc94577c73c79e2c983c281eba.zip
larpe-cae1c5d7867257cc94577c73c79e2c983c281eba.tar.gz
larpe-cae1c5d7867257cc94577c73c79e2c983c281eba.tar.bz2
ignore_errors must be in the select ...
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@487 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
-rw-r--r--larpe/trunk/larpe/saml2.ptl2
1 files changed, 1 insertions, 1 deletions
diff --git a/larpe/trunk/larpe/saml2.ptl b/larpe/trunk/larpe/saml2.ptl
index 7f1e617..20a3fc4 100644
--- a/larpe/trunk/larpe/saml2.ptl
+++ b/larpe/trunk/larpe/saml2.ptl
@@ -191,7 +191,7 @@ class Saml2(Saml2Directory):
return 'Your browser should redirect you'
def lookup_user(self, session, login):
- found_users = list(User.select(lambda x: login.nameIdentifier.content in x.name_identifiers), ignore_errors = True)
+ found_users = list(User.select(lambda x: login.nameIdentifier.content in x.name_identifiers, ignore_errors = True))
if found_users:
return found_users[0]
return None