X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FSliceUsersList.py;h=e3eb1e4281024d993c6a77dc5b1f5a94f152a2b1;hb=f25f5606b0010edd051e91c76553eacf7a7692c5;hp=2b10a88a17eabe489278014daafaa33b1c5acfa8;hpb=d8fca496b2ad500c6778c60164bb2e1478ae8dcd;p=plcapi.git diff --git a/PLC/Methods/SliceUsersList.py b/PLC/Methods/SliceUsersList.py index 2b10a88..e3eb1e4 100644 --- a/PLC/Methods/SliceUsersList.py +++ b/PLC/Methods/SliceUsersList.py @@ -19,6 +19,8 @@ class SliceUsersList(GetSlices, GetPersons): about that slice will not be returned. """ + status = "deprecated" + roles = ['admin', 'pi', 'user'] accepts = [ @@ -38,6 +40,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