summaryrefslogtreecommitdiffstats
path: root/pykolab/cli/cmd_list_mailbox_metadata.py
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/cli/cmd_list_mailbox_metadata.py')
-rw-r--r--pykolab/cli/cmd_list_mailbox_metadata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/cli/cmd_list_mailbox_metadata.py b/pykolab/cli/cmd_list_mailbox_metadata.py
index d54346d..a07420d 100644
--- a/pykolab/cli/cmd_list_mailbox_metadata.py
+++ b/pykolab/cli/cmd_list_mailbox_metadata.py
@@ -81,7 +81,7 @@ def execute(*args, **kw):
else:
metadata = []
- folders = imap.lm(folder)
+ folders = imap.list_folders(folder)
for folder in folders:
print "Folder", folder