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

This commit is contained in:
Rob Crittenden committed 2007-12-05 15:12:24 -05:00
1 parent 299e457698
commit 69765f52ce
1 file changed
+1 -1
+1 -1
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):