From: Cyril Robert Date: Thu, 18 Feb 2010 21:04:28 +0000 (-0500) Subject: Correction pour py2.5 X-Git-Url: https://git.auf.org/?p=auf_roa_authentification_backend.git;a=commitdiff_plain;h=0adf6560ac6350ac5e227d169ee8a8286d22902a;hp=2fda15a0172b0282f72d2ee8bc102b07028fa152 Correction pour py2.5 --- 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)