parent
254df9bcca
commit
0c9d895438
1 changed files with 7 additions and 6 deletions
|
@ -1548,12 +1548,13 @@ class DarwinUser(User):
|
||||||
else:
|
else:
|
||||||
target = set([])
|
target = set([])
|
||||||
|
|
||||||
for remove in current - target:
|
if self.append is False:
|
||||||
(_rc, _err, _out) = self.__modify_group(remove, 'delete')
|
for remove in current - target:
|
||||||
rc += rc
|
(_rc, _err, _out) = self.__modify_group(remove, 'delete')
|
||||||
out += _out
|
rc += rc
|
||||||
err += _err
|
out += _out
|
||||||
changed = True
|
err += _err
|
||||||
|
changed = True
|
||||||
|
|
||||||
for add in target - current:
|
for add in target - current:
|
||||||
(_rc, _err, _out) = self.__modify_group(add, 'add')
|
(_rc, _err, _out) = self.__modify_group(add, 'add')
|
||||||
|
|
Loading…
Reference in a new issue