Groups may be iterated over so should be an empty list, not None

This commit is contained in:
Rob Crittenden 2007-12-05 15:12:24 -05:00
parent 299e457698
commit 69765f52ce

View File

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