diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2013-08-03 20:09:48 +0100 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2013-08-03 20:09:48 +0100 |
commit | 7e4e391a82a19a587173cf85f1efb01905c56238 (patch) | |
tree | c87e3f4517d6031e3352e3b33961b20068dd7432 /pykolab/imap/cyrus.py | |
parent | 6c3f6f84fc9a05f0512f83770fb9d12e2848a3d3 (diff) | |
download | pykolab-7e4e391a82a19a587173cf85f1efb01905c56238.tar.gz |
Do not convert folder names that are already raw to utf7 again
Diffstat (limited to 'pykolab/imap/cyrus.py')
-rw-r--r-- | pykolab/imap/cyrus.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/imap/cyrus.py b/pykolab/imap/cyrus.py index ed3b29f..6881740 100644 --- a/pykolab/imap/cyrus.py +++ b/pykolab/imap/cyrus.py @@ -363,7 +363,7 @@ class Cyrus(cyruslib.CYRUS): if not mbox['domain'] == None: verify_folder_search = "%s@%s" % (verify_folder_search, mbox['domain']) - folders = self.lm(self.folder_utf7(verify_folder_search)) + folders = self.lm(verify_folder_search) # NOTE: Case also covered is valid hexadecimal folders; won't be the # actual check as intended, but doesn't give you anyone else's data @@ -375,7 +375,7 @@ class Cyrus(cyruslib.CYRUS): # but it still would not cover all cases. # - # If no folders where found... well... then there you go. + # If no folders were found... well... then there you go. if len(folders) < 1: return None |