summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2007-12-05 15:12:24 -0500
committerRob Crittenden <rcritten@redhat.com>2007-12-05 15:12:24 -0500
commit69765f52ce54eacb704b7ff1ee4287a3ed787371 (patch)
tree7a5cde0d2817f053a96c66f46e6437cff67e9657
parent299e45769811c7573d1389e5eb25643e62b1d128 (diff)
downloadfreeipa-69765f52ce54eacb704b7ff1ee4287a3ed787371.tar.gz
freeipa-69765f52ce54eacb704b7ff1ee4287a3ed787371.tar.xz
freeipa-69765f52ce54eacb704b7ff1ee4287a3ed787371.zip
Groups may be iterated over so should be an empty list, not None
-rw-r--r--ipa-server/ipa-gui/ipagui/proxyprovider.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-server/ipa-gui/ipagui/proxyprovider.py b/ipa-server/ipa-gui/ipagui/proxyprovider.py
index bd9cf87a..485a0f3b 100644
--- a/ipa-server/ipa-gui/ipagui/proxyprovider.py
+++ b/ipa-server/ipa-gui/ipagui/proxyprovider.py
@@ -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):