mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-07 14:53:01 -06:00
Fix crash when creating new groups. You can't iterate over a None variable.
440081
This commit is contained in:
parent
04da7a1ecc
commit
6d136d7fff
@ -1833,6 +1833,8 @@ class IPAServer:
|
||||
real_members = group.get('member')
|
||||
if isinstance(real_members, basestring):
|
||||
real_members = [real_members]
|
||||
if real_members is None:
|
||||
real_members = []
|
||||
|
||||
# Normalize all the dns
|
||||
for i in range(len(real_members)):
|
||||
|
Loading…
Reference in New Issue
Block a user