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
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi
[plcapi.git]
/
PLC
/
Methods
/
GetSessions.py
diff --git
a/PLC/Methods/GetSessions.py
b/PLC/Methods/GetSessions.py
index
1b671ee
..
5e84017
100644
(file)
--- a/
PLC/Methods/GetSessions.py
+++ b/
PLC/Methods/GetSessions.py
@@
-1,4
+1,5
@@
# $Id$
# $Id$
+# $URL$
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
@@
-15,7
+16,7
@@
class GetSessions(Method):
filter will be returned. If return_fields is specified, only the
specified details will be returned.
filter will be returned. If return_fields is specified, only the
specified details will be returned.
-
+
"""
roles = ['admin']
"""
roles = ['admin']
@@
-28,9
+29,9
@@
class GetSessions(Method):
]
returns = [Session.fields]
]
returns = [Session.fields]
-
+
def call(self, auth, session_filter = None):
sessions = Sessions(self.api, session_filter)
def call(self, auth, session_filter = None):
sessions = Sessions(self.api, session_filter)
-
- return sessions
+
+
return sessions