mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-24 15:16:40 -06:00
Groups may be iterated over so should be an empty list, not None
This commit is contained in:
parent
299e457698
commit
69765f52ce
@ -83,7 +83,7 @@ class ProxyIdentity(object):
|
||||
return self._user.groups
|
||||
except AttributeError:
|
||||
# Groups haven't been computed yet
|
||||
return None
|
||||
return []
|
||||
groups= property(_get_groups)
|
||||
|
||||
def logout(self):
|
||||
|
Loading…
Reference in New Issue
Block a user