svn keywords
[plcapi.git] / PLC / Methods / SliceListUserSlices.py
index 43aface..91936c2 100644 (file)
@@ -1,3 +1,5 @@
+# $Id$
+# $URL$
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
 from PLC.Filter import Filter
@@ -19,6 +21,8 @@ class SliceListUserSlices(GetSlices, GetPersons):
     slice_filter, details about that slice will not be returned.
     """
 
+    status = "deprecated"
+
     roles = ['admin', 'pi', 'user']
 
     accepts = [
@@ -31,7 +35,7 @@ class SliceListUserSlices(GetSlices, GetPersons):
 
     def call(self, auth, email):
 
-       persons = GetPersons(self, auth, [email])
+       persons = GetPersons.call(self, auth, [email])
        if not persons:
                return []
        person = persons[0]