summaryrefslogtreecommitdiffstats
path: root/kolabd/__init__.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-04-17 10:00:18 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-04-17 10:00:18 +0100
commit3527dc014a687c16c3794fcdb20c7e5f076f450f (patch)
treef77704253f351582312bc3037a9cb8d741ca6f49 /kolabd/__init__.py
parent73776a82589d28257f06ab84bb872ab89c83ef7c (diff)
downloadpykolab-3527dc014a687c16c3794fcdb20c7e5f076f450f.tar.gz
Bump pre-release
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()