mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Removed a few debug print statements that are no longer needed
This commit is contained in:
@@ -68,9 +68,7 @@ class SSOUser(models.Model):
|
||||
# Generate the list of groups to add/remove
|
||||
delgroups = set(set(self.user.groups.all()) & set(corpgroups)) - set(chargroups)
|
||||
addgroups = set(chargroups) - set(set(self.user.groups.all()) & set(corpgroups))
|
||||
|
||||
print "Add: ", addgroups, "Del:", delgroups, "Current:", self.user.groups.all()
|
||||
|
||||
|
||||
for g in delgroups:
|
||||
self.user.groups.remove(g)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user