summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2015-10-13 15:06:53 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2015-10-13 15:06:53 +0200
commit218b51938a98c66f28d8babc09cff182382f027d (patch)
treee2cabc3a89725be2cf123a84691c5d3ac5aa98bc
parent3842a2406a56f07b09036f6127703850af89b6c5 (diff)
downloadpykolab-218b51938a98c66f28d8babc09cff182382f027d.tar.gz
Correct the use of the format returned by auth.list_domains()
-rw-r--r--kolabd/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kolabd/__init__.py b/kolabd/__init__.py
index ccc8728..16edde6 100644
--- a/kolabd/__init__.py
+++ b/kolabd/__init__.py
@@ -272,7 +272,7 @@ class KolabDaemon(object):
# ('primary',[secondaries]), we want the primary_domains
domain_base_dns = []
primary_domains = []
- for primary_domain, secondaries in domains.iteritems():
+ for primary_domain in list(set(domains.values())):
domain_base_dn = primary_auth.domain_naming_context(primary_domain)
log.debug(_("Domain Base DN for domain %r is %r") % (primary_domain, domain_base_dn), level=8)