summaryrefslogtreecommitdiffstats
path: root/pykolab/imap
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-12-19 14:20:42 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-12-19 14:20:42 +0100
commit213609d6676bcb494dd9af468ab3b4e5b5acd245 (patch)
treeea4577e6ae65133b350812e9fc509fbb29df6bfc /pykolab/imap
parent6992a7ed2fda6b82e2ff5c3d0825f90c691b9680 (diff)
downloadpykolab-213609d6676bcb494dd9af468ab3b4e5b5acd245.tar.gz
Retrieve the /shared/vendor/cyrus-imapd/server annotation
Diffstat (limited to 'pykolab/imap')
-rw-r--r--pykolab/imap/cyrus.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/imap/cyrus.py b/pykolab/imap/cyrus.py
index bc2a13e..079c4dc 100644
--- a/pykolab/imap/cyrus.py
+++ b/pykolab/imap/cyrus.py
@@ -179,14 +179,14 @@ class Cyrus(cyruslib.CYRUS):
if max_tries <= num_try:
log.error(_("Could not get the annotations after %s tries.") % (num_try))
- annotations = { mailfolder: { '/vendor/cmu/cyrus-imapd/server': self.server }}
+ annotations = { mailfolder: { '/shared/vendor/cmu/cyrus-imapd/server': self.server }}
break
log.warning(_("No annotations for %s: %r") % (mailfolder,annotations))
time.sleep(1)
- server = annotations[mailfolder]['/vendor/cmu/cyrus-imapd/server']
+ server = annotations[mailfolder]['/shared/vendor/cmu/cyrus-imapd/server']
self.mbox[mailfolder] = server
log.debug(_("Server for INBOX folder %s is %s") % (mailfolder,server), level=8)