summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-11-03 09:31:42 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-11-03 09:31:42 +0100
commit71df0cc7b4fc8373e6d84db8e8c01e56ca99ad25 (patch)
tree7e4505b3a50a973fb688611b0e7e830de222993f /pykolab
parent9ef320aa27b131444b6b563941c015bbf4bb8484 (diff)
downloadpykolab-71df0cc7b4fc8373e6d84db8e8c01e56ca99ad25.tar.gz
Use the correct encoding for folders in delete-mailbox-acl.
Reference Bifrost T10492
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/cli/cmd_delete_mailbox_acl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/cli/cmd_delete_mailbox_acl.py b/pykolab/cli/cmd_delete_mailbox_acl.py
index 1603814..b7a7ede 100644
--- a/pykolab/cli/cmd_delete_mailbox_acl.py
+++ b/pykolab/cli/cmd_delete_mailbox_acl.py
@@ -60,10 +60,10 @@ def execute(*args, **kw):
print >> sys.stderr, _("No such folder %r") % (folder)
else:
- folders = imap.lm(folder)
+ folders = imap.list_folders(folder)
for folder in folders:
try:
imap.set_acl(folder, identifier, '')
except:
# Mailbox no longer exists?
- pass \ No newline at end of file
+ pass