Groups may be iterated over so should be an empty list, not None
This commit is contained in:
1 parent
299e457698
commit
69765f52ce
1 file changed
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user