Merge commit 'origin/master'
[plcapi.git] / PLC / Methods / SliceUserDel.py
index 3f0780c..9426611 100644 (file)
@@ -1,4 +1,5 @@
 # $Id$
 # $Id$
+# $URL$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
 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
     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.
     """
@@ -30,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