X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FGetSession.py;h=6a8ac4c1f5b52bcb52484897114a9ad5a947f73e;hb=fa30ab2d1e1b9e35b1852bfb775620fb8e517496;hp=70f39b49a3110f5e0a9a48af034f291798141059;hpb=f5cd72e35593c96b9996ab4e49674cccc7525c48;p=plcapi.git diff --git a/PLC/Methods/GetSession.py b/PLC/Methods/GetSession.py index 70f39b4..6a8ac4c 100644 --- a/PLC/Methods/GetSession.py +++ b/PLC/Methods/GetSession.py @@ -1,5 +1,3 @@ -# $Id$ -# $URL$ import time from PLC.Method import Method @@ -18,7 +16,7 @@ class GetSession(Method): roles = ['admin', 'pi', 'user', 'tech', 'node'] accepts = [Auth()] returns = Session.fields['session_id'] - + def call(self, auth): # Authenticated with a session key, just return it