diff options
author | Tomás Touceda <chiiph@leap.se> | 2014-01-09 11:20:43 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2014-01-09 11:20:43 -0300 |
commit | aaf9edb5d1a74b2726ac106249c313ad97a0b17a (patch) | |
tree | 2e286de83d56a5fe8d435ab1acd210402a398c1a /src/leap/mail/imap/parser.py | |
parent | c2cccbcd4225049b35ea2c7be4bbe899532136ca (diff) | |
parent | 4381131163161c00f00a3eb300041374aa06d370 (diff) |
Merge remote-tracking branch 'refs/remotes/drebs/bug/4830_convert-unicode-to-str-when-raising-on-imap-server' into develop
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 |