keep things simple, use 'value' rather than 'tagvalue' everywhere
[plcapi.git] / PLC / Methods / SliceListUserSlices.py
index 43aface..e86622a 100644 (file)
@@ -1,3 +1,4 @@
+# $Id$
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
 from PLC.Filter import Filter
@@ -19,6 +20,8 @@ class SliceListUserSlices(GetSlices, GetPersons):
     slice_filter, details about that slice will not be returned.
     """
 
+    status = "deprecated"
+
     roles = ['admin', 'pi', 'user']
 
     accepts = [
@@ -31,7 +34,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]