Fix group modification code

pull/5/head
David Bartley 15 years ago
parent 23adc7db5f
commit 0cf2970d7f
  1. 2
      ceo/urwid/groups.py
  2. 2
      ceo/urwid/main.py

@ -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:

@ -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 = {

Loading…
Cancel
Save