X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FSliceUserDel.py;h=9426611f50a080021b594a5386cb848f80c9a265;hb=62a9da548fbef4c3c23eb9b304d6a78a35201c5a;hp=3f0780caf2da3d34cd9a6e11279d05afaae36e61;hpb=77e4f177dfee85705c36298c3230b2e4a3e73467;p=plcapi.git diff --git a/PLC/Methods/SliceUserDel.py b/PLC/Methods/SliceUserDel.py index 3f0780c..9426611 100644 --- a/PLC/Methods/SliceUserDel.py +++ b/PLC/Methods/SliceUserDel.py @@ -1,4 +1,5 @@ # $Id$ +# $URL$ from PLC.Faults import * from PLC.Method import Method from PLC.Parameter import Parameter, Mixed @@ -12,7 +13,7 @@ class SliceUserDel(Method): Deprecated. Can be implemented with DeletePersonFromSlice. Removes the specified users from the specified slice. If the person is - already a member of the slice, no errors are returned. + already a member of the slice, no errors are returned. Returns 1 if successful, faults otherwise. """ @@ -30,7 +31,7 @@ class SliceUserDel(Method): returns = Parameter(int, '1 if successful') def call(self, auth, slice_name, user_list): - for user in user_list: - DeletePersonFromSlice.call(self, auth, user, slice_name) + for user in user_list: + DeletePersonFromSlice.call(self, auth, user, slice_name) return 1