summaryrefslogtreecommitdiffstats
path: root/kolabd/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'kolabd/__init__.py')
-rw-r--r--kolabd/__init__.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/kolabd/__init__.py b/kolabd/__init__.py
index 8d25b91..ec05238 100644
--- a/kolabd/__init__.py
+++ b/kolabd/__init__.py
@@ -119,7 +119,12 @@ class KolabDaemon(object):
log.debug(_("Listing domains..."), level=5)
start = time.time()
- domains = primary_auth.list_domains()
+ try:
+ domains = primary_auth.list_domains()
+ except:
+ time.sleep(60)
+ continue
+
if len(domains) == len(domain_auth.keys()):
time.sleep(600)
end = time.time()