From 0adf6560ac6350ac5e227d169ee8a8286d22902a Mon Sep 17 00:00:00 2001 From: Cyril Robert Date: Thu, 18 Feb 2010 16:04:28 -0500 Subject: [PATCH] Correction pour py2.5 --- auf_roa_authentification_backend/backends.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/auf_roa_authentification_backend/backends.py b/auf_roa_authentification_backend/backends.py index 58eeae0..df80d69 100644 --- a/auf_roa_authentification_backend/backends.py +++ b/auf_roa_authentification_backend/backends.py @@ -22,10 +22,7 @@ class CascadeBackend(ModelBackend): remoteUser = localUser = None try: remoteUser = RemoteUser.objects.get (email=email) - except Exception as inst: - #print type(inst) # the exception instance - #print inst.args # arguments stored in .args - #print inst + except: pass try: localUser = DjangoUser.objects.get (username=username) -- 1.7.10.4