git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove an ugly hack that had GetSliceFamily set the slice vref to omf
[plcapi.git]
/
PLC
/
Methods
/
GetSession.py
diff --git
a/PLC/Methods/GetSession.py
b/PLC/Methods/GetSession.py
index
584de64
..
6a8ac4c
100644
(file)
--- a/
PLC/Methods/GetSession.py
+++ b/
PLC/Methods/GetSession.py
@@
-16,9
+16,7
@@
class GetSession(Method):
roles = ['admin', 'pi', 'user', 'tech', 'node']
accepts = [Auth()]
returns = Session.fields['session_id']
-
- event_type = 'Get'
- object_type = 'Session'
+
def call(self, auth):
# Authenticated with a session key, just return it