summaryrefslogtreecommitdiffstats
path: root/pykolab/cli/cmd_set_mailbox_acl.py
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/cli/cmd_set_mailbox_acl.py')
-rw-r--r--pykolab/cli/cmd_set_mailbox_acl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/cli/cmd_set_mailbox_acl.py b/pykolab/cli/cmd_set_mailbox_acl.py
index 85e52b8..e86c62d 100644
--- a/pykolab/cli/cmd_set_mailbox_acl.py
+++ b/pykolab/cli/cmd_set_mailbox_acl.py
@@ -67,6 +67,6 @@ 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:
imap.set_acl(folder, identifier, acl)