Merge from HEAD. Signed off by tmack.
[plcapi.git] / PLC / Methods / SliceListUserSlices.py
index 43aface..9e054ed 100644 (file)
@@ -19,6 +19,8 @@ class SliceListUserSlices(GetSlices, GetPersons):
     slice_filter, details about that slice will not be returned.
     """
 
+    status = "deprecated"
+
     roles = ['admin', 'pi', 'user']
 
     accepts = [
@@ -31,7 +33,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]