summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-09-15 14:57:53 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-09-15 14:57:53 +0100
commitc27897fbb45efd32ec1b5d6e4595cc13a94479ca (patch)
tree298b118233f58878d53cfe15e51be5d93bad289c
parent57d894c55dc3c98587c875b895ebb0ab84138dc9 (diff)
downloadpykolab-c27897fbb45efd32ec1b5d6e4595cc13a94479ca.tar.gz
Add missing function set_quota() (#1013)
-rw-r--r--pykolab/imap/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pykolab/imap/__init__.py b/pykolab/imap/__init__.py
index d04eeb1..79375d6 100644
--- a/pykolab/imap/__init__.py
+++ b/pykolab/imap/__init__.py
@@ -600,6 +600,9 @@ class IMAP(object):
else:
auth.set_user_attribute(primary_domain, user, _mailserver_attr, _current_mailserver)
+ def set_quota(self, folder, quota):
+ self.imap._setquota(folder, quota)
+
def parse_mailfolder(self, mailfolder):
self.connect()
return self.imap.parse_mailfolder(mailfolder)