summaryrefslogtreecommitdiffstats
path: root/pykolab/cli/cmd_delete_mailbox_acl.py
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/cli/cmd_delete_mailbox_acl.py')
-rw-r--r--pykolab/cli/cmd_delete_mailbox_acl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/cli/cmd_delete_mailbox_acl.py b/pykolab/cli/cmd_delete_mailbox_acl.py
index 2a70115..e4c1d62 100644
--- a/pykolab/cli/cmd_delete_mailbox_acl.py
+++ b/pykolab/cli/cmd_delete_mailbox_acl.py
@@ -65,7 +65,7 @@ def execute(*args, **kw):
folders = imap.list_folders(folder)
for folder in folders:
try:
- imap.set_acl(folder, identifier, '')
+ imap.del_acl(folder, identifier)
except:
# Mailbox no longer exists?
pass