git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Change .py files to use 4-space indents and no hard tab characters.
[plcapi.git]
/
PLC
/
Methods
/
SliceUserDel.py
diff --git
a/PLC/Methods/SliceUserDel.py
b/PLC/Methods/SliceUserDel.py
index
0cebd66
..
9426611
100644
(file)
--- a/
PLC/Methods/SliceUserDel.py
+++ b/
PLC/Methods/SliceUserDel.py
@@
-13,7
+13,7
@@
class SliceUserDel(Method):
Deprecated. Can be implemented with DeletePersonFromSlice.
Removes the specified users from the specified slice. If the person is
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.
"""
Returns 1 if successful, faults otherwise.
"""
@@
-31,7
+31,7
@@
class SliceUserDel(Method):
returns = Parameter(int, '1 if successful')
def call(self, auth, slice_name, user_list):
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
return 1