Fix group modification code

This commit is contained in:
David Bartley 2008-01-07 13:55:47 -05:00
parent 23adc7db5f
commit 0cf2970d7f
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ class EndPage(WizardPanel):
data = self.state['data']
action = data['action'].lower()
failed = []
for group in data['groups']:
for group in data['groups'] + [data['group']]:
try:
members.change_group_member(action, group, self.state['userid'])
except ldap.LDAPError:

View File

@ -43,7 +43,7 @@ def program_name():
office_data = {
"name" : "Office Staff",
"group" : "office",
"groups" : [ "office", "cdrom", "audio", "video", "www" ],
"groups" : [ "cdrom", "audio", "video", "www" ],
}
syscom_data = {