summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-07-05 19:38:34 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-07-05 19:38:34 +0100
commitae26c04fefaf11e16601348099952b90bdf5bfc8 (patch)
treef81705479c1022bf2cc0af0b9f84fe1ccfdc213d
parentf654d9d51a245a6fc3f6b0ff5412f442cbe8c99a (diff)
downloadpykolab-ae26c04fefaf11e16601348099952b90bdf5bfc8.tar.gz
Decode the mailbox names in kolab list-mailboxes
-rw-r--r--pykolab/cli/cmd_list_mailboxes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pykolab/cli/cmd_list_mailboxes.py b/pykolab/cli/cmd_list_mailboxes.py
index 3451e7c..13d5fd7 100644
--- a/pykolab/cli/cmd_list_mailboxes.py
+++ b/pykolab/cli/cmd_list_mailboxes.py
@@ -21,6 +21,7 @@ import commands
import pykolab
+from pykolab import imap_utf7
from pykolab.imap import IMAP
from pykolab.translate import _
@@ -76,4 +77,4 @@ def execute(*args, **kw):
folders.extend(imap.lm(search))
for folder in folders:
- print folder
+ print imap_utf7.decode(folder)