summaryrefslogtreecommitdiffstats
path: root/pykolab/imap/cyrus.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-08-08 15:04:38 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-08-08 15:04:38 +0100
commitc8a39374cb97cb8ff70ff85b8613e74d77067f40 (patch)
tree8c8397fa0d656006bbb7fe93b8b572e1c3d30ea4 /pykolab/imap/cyrus.py
parentfd3e861d85da2093be6d579e253e4290bf8ce932 (diff)
downloadpykolab-c8a39374cb97cb8ff70ff85b8613e74d77067f40.tar.gz
Add functions that support some of the new command line client commands
Diffstat (limited to 'pykolab/imap/cyrus.py')
-rw-r--r--pykolab/imap/cyrus.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pykolab/imap/cyrus.py b/pykolab/imap/cyrus.py
index af3e5b8..9b291bf 100644
--- a/pykolab/imap/cyrus.py
+++ b/pykolab/imap/cyrus.py
@@ -81,6 +81,7 @@ class Cyrus(cyruslib.CYRUS):
if conf.debuglevel > 8:
self.VERBOSE = True
+ self.m.debug = 5
# Initialize our variables
self.separator = self.SEP
@@ -217,7 +218,7 @@ class Cyrus(cyruslib.CYRUS):
def _getannotation(self, *args, **kw):
return self.getannotation(*args, **kw)
- def _setannotation(self, mailfolder, annotation, value):
+ def _setannotation(self, mailfolder, annotation, value, shared=False):
"""
Login to the actual backend server, then set annotation.
"""
@@ -228,7 +229,7 @@ class Cyrus(cyruslib.CYRUS):
#if annotation.startswith('/private'):
try:
- self.setannotation(mailfolder, annotation, value)
+ self.setannotation(mailfolder, annotation, value, shared)
except cyruslib.CYRUSError, e:
log.error(_("Could not set annotation %r on mail folder %r: %r") % (annotation,mailfolder,e))