oops
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 2 Feb 2011 15:46:10 +0000 (16:46 +0100)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 2 Feb 2011 15:46:10 +0000 (16:46 +0100)
PLC/Auth.py

index 37eab0f..9fe95fd 100644 (file)
@@ -135,7 +135,6 @@ class SessionAuth(Auth):
                     # using PermissionDenied rather than AuthenticationFailure here because
                     # if that fails we don't want to delete the session..
                     raise PLCPermissionDenied, "SessionAuth: Not allowed to call method %s, missing 'node' role"%method.name
-                    raise PLCAuthenticationFailure, "SessionAuth: Not allowed to call method %s, missing 'node' role"%method.name
 
                 method.caller = node