[SUCS Devel] [Git][sucs/accountmanager][master] Fix bug where only half the users marked as to be deleted get deleted

Imran Hussain imranh at sucs.org
Tue Mar 12 18:47:04 GMT 2019


Imran Hussain pushed to branch master at sucs / accountmanager


Commits:
19bc5ada by Imran Hussain at 2019-03-12T18:47:02Z
Fix bug where only half the users marked as to be deleted get deleted
- - - - -


1 changed file:

- sucsam.py


Changes:

=====================================
sucsam.py
=====================================
@@ -358,10 +358,11 @@ def deleteUser(peopleList):
 		emailAdminDeleteUser(person)
 		
 		# remove the entry from the list
-		peopleList.remove(person)
+		#peopleList.remove(person)
 		
 	# return to the deletemenu with an empty list as we've just deleted everyone
-	deleteMenu(peopleList)
+	#deleteMenu(peopleList)
+    deleteMenu([])
 
 
 def reminderMenu():



View it on GitLab: https://projects.sucs.org/sucs/accountmanager/commit/19bc5ada51b3592088c6781d6174e71378611c62

-- 
View it on GitLab: https://projects.sucs.org/sucs/accountmanager/commit/19bc5ada51b3592088c6781d6174e71378611c62
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20190312/3c1e4724/attachment.html>


More information about the Devel mailing list