Branch 'pykolab-0.5' - pykolab/auth
Jeroen van Meeuwen
vanmeeuwen at kolabsys.com
Wed May 22 13:15:43 CEST 2013
pykolab/auth/__init__.py | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 9b34909c840fef0f8c2c1c5f0faf25c6a4692b73
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date: Wed May 22 11:47:09 2013 +0200
Catch a case in which the list of domain name spaces is empty
diff --git a/pykolab/auth/__init__.py b/pykolab/auth/__init__.py
index dae8edc..9a5c262 100644
--- a/pykolab/auth/__init__.py
+++ b/pykolab/auth/__init__.py
@@ -228,6 +228,8 @@ class Auth(pykolab.base.Base):
except:
if not self.domain == kolab_primary_domain:
return [(self.domain, [])]
+ else:
+ domains = []
# If no domains are found, the primary domain is used.
if len(domains) < 1:
More information about the commits
mailing list