summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-10-07 14:36:46 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-10-07 14:36:46 +0200
commitda2304304246df3e0cf5bf17c46ffcb5e81cf7ce (patch)
tree90e402285e1686a09c58d3f352c1e295eb8a93e0 /pykolab
parente4dd9536cb391c04698184e196700133f5b98d3a (diff)
downloadpykolab-da2304304246df3e0cf5bf17c46ffcb5e81cf7ce.tar.gz
Use auth.list_domains() result correctly (#2306)
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/cli/cmd_sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/cli/cmd_sync.py b/pykolab/cli/cmd_sync.py
index da75a71..184b748 100644
--- a/pykolab/cli/cmd_sync.py
+++ b/pykolab/cli/cmd_sync.py
@@ -47,7 +47,7 @@ def execute(*args, **kw):
all_folders = []
- for primary_domain,secondary_domains in domains:
+ for primary_domain in list(set(domains.values())):
log.debug(_("Running for domain %s") % (primary_domain), level=8)
auth.connect(primary_domain)
start_time = time.time()