From cae1c5d7867257cc94577c73c79e2c983c281eba Mon Sep 17 00:00:00 2001 From: jschneider Date: Fri, 9 Oct 2009 15:50:10 +0000 Subject: [PATCH] ignore_errors must be in the select ... git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@487 3ed937ae-f919-0410-9a43-8e6f19e4ba6e --- larpe/trunk/larpe/saml2.ptl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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