summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pykolab/cli/cmd_list_mailbox_acls.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/pykolab/cli/cmd_list_mailbox_acls.py b/pykolab/cli/cmd_list_mailbox_acls.py
index 10a3321..7f4a9fc 100644
--- a/pykolab/cli/cmd_list_mailbox_acls.py
+++ b/pykolab/cli/cmd_list_mailbox_acls.py
@@ -55,7 +55,9 @@ def execute(*args, **kw):
acls = []
folders = imap.lm(folder)
for folder in folders:
- acls.append((folder, imap.list_acls(folder)))
+ print "Folder", folder
+ acls = imap.list_acls(folder)
+
+ for acl in acls.keys():
+ print " %-13s %s" %(acls[acl], acl)
- for folder, acl in acls:
- print folder, acl