summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2016-04-04 16:32:24 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-04-04 16:33:03 +0200
commitc5a6c44f18e262938637215d63c4ab8f14d6cd78 (patch)
tree7fc837d1fc65cd9c76e47686a5f32e53f987cf12
parent80d2b5ecb984906e7dc7fe0760def449574edf84 (diff)
downloadpykolab-c5a6c44f18e262938637215d63c4ab8f14d6cd78.tar.gz
Fix double-quotation of partition argument for folder rename (#5354)
Summary: Fixes #5354 Reviewers: #pykolab_developers, vanmeeuwen Reviewed By: #pykolab_developers, vanmeeuwen Subscribers: venc, petersen, vennen Differential Revision: https://git.kolab.org/D114
-rw-r--r--pykolab/imap/cyrus.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/imap/cyrus.py b/pykolab/imap/cyrus.py
index 1112d10..8dab02e 100644
--- a/pykolab/imap/cyrus.py
+++ b/pykolab/imap/cyrus.py
@@ -254,7 +254,7 @@ class Cyrus(cyruslib.CYRUS):
else:
log.debug(_("Moving INBOX folder %s to %s") % (from_mailfolder,to_mailfolder), level=8)
- self.m.rename(self.folder_utf7(from_mailfolder), self.folder_utf7(to_mailfolder), '"%s"' % (partition))
+ self.m.rename(self.folder_utf7(from_mailfolder), self.folder_utf7(to_mailfolder), partition)
def _getannotation(self, *args, **kw):
return self.getannotation(*args, **kw)