summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pykolab/cli/cmd_create_mailbox.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pykolab/cli/cmd_create_mailbox.py b/pykolab/cli/cmd_create_mailbox.py
index 453b41e..63ae0ad 100644
--- a/pykolab/cli/cmd_create_mailbox.py
+++ b/pykolab/cli/cmd_create_mailbox.py
@@ -63,9 +63,7 @@ def execute(*args, **kw):
imap = IMAP()
imap.connect()
- admin_login = conf.get('cyrus-imap', 'admin_login')
-
- imap.cm(mailbox)
+ imap.create_folder(mailbox)
if not conf.metadata == None:
imap.set_metadata(mailbox, conf.metadata.split('=')[0], conf.metadata.split('=')[1])