diff options
author | drebs <drebs@leap.se> | 2013-12-28 20:09:03 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2014-01-09 11:51:00 -0200 |
commit | 4381131163161c00f00a3eb300041374aa06d370 (patch) | |
tree | 2e286de83d56a5fe8d435ab1acd210402a398c1a /src/leap/mail/imap/parser.py | |
parent | c2cccbcd4225049b35ea2c7be4bbe899532136ca (diff) |
Convert unicode to str when raising in IMAP server (#4830).
Diffstat (limited to 'src/leap/mail/imap/parser.py')
-rw-r--r-- | src/leap/mail/imap/parser.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/mail/imap/parser.py b/src/leap/mail/imap/parser.py index 306dcf0..6a9ace9 100644 --- a/src/leap/mail/imap/parser.py +++ b/src/leap/mail/imap/parser.py @@ -102,6 +102,11 @@ class MBoxParser(object): def _parse_mailbox_name(self, name): """ + Return a normalized representation of the mailbox C{name}. + + This method ensures that an eventual initial 'inbox' part of a + mailbox name is made uppercase. + :param name: the name of the mailbox :type name: unicode |