summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-10-30 14:46:53 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-10-30 14:48:16 +0100
commit76dae9592d018209eb76802592e7987560fc10ad (patch)
treeaa5bef6f3c4d856e45b5d133101f6086e5b03aae
parent9fc5eee035ec418937556f36971ceb7c5f1cd375 (diff)
downloadpykolab-76dae9592d018209eb76802592e7987560fc10ad.tar.gz
Fix command rename-mailbox, which was restricting itself to user/* mailboxes only
-rw-r--r--pykolab/cli/cmd_rename_mailbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/cli/cmd_rename_mailbox.py b/pykolab/cli/cmd_rename_mailbox.py
index 4efed0d..80098e2 100644
--- a/pykolab/cli/cmd_rename_mailbox.py
+++ b/pykolab/cli/cmd_rename_mailbox.py
@@ -70,5 +70,5 @@ def execute(*args, **kw):
print >> sys.stderr, _("Target folder %r already exists") % (target_folder)
sys.exit(1)
- imap.user_mailbox_rename(source_folder.replace('user/',''), target_folder.replace('user/',''), partition=partition)
+ imap.imap.rename(source_folder, target_folder, partition)