From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Date: Wed, 2 Feb 2011 15:46:10 +0000 (+0100)
Subject: oops
X-Git-Tag: plcapi-5.0-27~2
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=0c1abf0ac34f0d3d13001bc7e03b173de1396cdd;p=plcapi.git

oops
---

diff --git a/PLC/Auth.py b/PLC/Auth.py
index 37eab0f1..9fe95fd5 100644
--- a/PLC/Auth.py
+++ b/PLC/Auth.py
@@ -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