X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FSliceUserAdd.py;h=c0ca278fcda5e4a5dda2b2540b52a488ea911092;hb=91e6eb8f4cb875e6967fb51135b90ba2dc184cc6;hp=cee64c120f61e893a92b748eab0c4ce704a556ce;hpb=e4c0c59e6bf7d7112f019272e04e6595639bcb90;p=plcapi.git diff --git a/PLC/Methods/SliceUserAdd.py b/PLC/Methods/SliceUserAdd.py index cee64c1..c0ca278 100644 --- a/PLC/Methods/SliceUserAdd.py +++ b/PLC/Methods/SliceUserAdd.py @@ -1,3 +1,5 @@ +# $Id$ +# $URL$ from PLC.Faults import * from PLC.Method import Method from PLC.Parameter import Parameter, Mixed @@ -24,11 +26,9 @@ class SliceUserAdd(AddPersonToSlice): returns = Parameter(int, '1 if successful') - object_type = 'Slice' - def call(self, auth, slice_name, user_list): - for user in user_list: - AddPersonToSlice.call(self, auth, user, slice_name) + for user in user_list: + AddPersonToSlice.call(self, auth, user, slice_name) return 1