embed svn Id keyword
[plcapi.git] / PLC / Methods / SliceUsersList.py
index 2b10a88..8feaa3d 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 SliceUsersList(GetSlices, GetPersons):
     about that slice will not be returned.
     """
 
+    status = "deprecated"
+
     roles = ['admin', 'pi', 'user']
 
     accepts = [
@@ -38,6 +41,6 @@ class SliceUsersList(GetSlices, GetPersons):
        slice = slices[0]
      
        persons = GetPersons.call(self, auth, slice['person_ids'])
-       person_names = [person['email'] for person in persons]
+       person_emails = [person['email'] for person in persons]
 
-        return person_names
+        return person_emails