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 20:25:15 +0100
commita5735530bfa78ad9f926f578a4e17a6fc8dc3c28 (patch)
tree9acb01f6beb156e10545048bf4c6a1b852760b6b
parentd8ad999e066ff28a1645de314597c31b5378310b (diff)
downloadpykolab-a5735530bfa78ad9f926f578a4e17a6fc8dc3c28.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 f765bac..4640bc5 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)