summaryrefslogtreecommitdiffstats
path: root/kolabd
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-09-23 12:08:29 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-09-23 12:08:29 +0200
commit4b484dcee75a368508d8c2c69274fe0d3457a9f4 (patch)
tree5a5e6af584bf44ec526cff1862fed676d481fa4f /kolabd
parent63bec7484161ac5b002525f014d7f040e35cf353 (diff)
downloadpykolab-4b484dcee75a368508d8c2c69274fe0d3457a9f4.tar.gz
Correct unpack error (#2246)
Diffstat (limited to 'kolabd')
-rw-r--r--kolabd/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kolabd/__init__.py b/kolabd/__init__.py
index 5624280..ce552d8 100644
--- a/kolabd/__init__.py
+++ b/kolabd/__init__.py
@@ -232,7 +232,7 @@ class KolabDaemon(object):
# domains now is a list of tuples, we want the primary_domains
primary_domains = []
- for primary_domain, secondary_domains in domains:
+ for primary_domain in list(set(domains.values())):
primary_domains.append(primary_domain)
# Now we can check if any changes happened.