From 8c9f63a9b5456696fdca77c01fb5eee103d27111 Mon Sep 17 00:00:00 2001 From: Nicolas Sebrecht Date: Wed, 8 Jun 2016 16:01:58 +0200 Subject: [PATCH] repository/IMAP: add minor comment Some minor cleanups on whitespaces. Signed-off-by: Nicolas Sebrecht --- offlineimap/CustomConfig.py | 4 ++-- offlineimap/repository/IMAP.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/offlineimap/CustomConfig.py b/offlineimap/CustomConfig.py index bb9eaa7..445a04f 100644 --- a/offlineimap/CustomConfig.py +++ b/offlineimap/CustomConfig.py @@ -114,10 +114,10 @@ class CustomConfigParser(SafeConfigParser): def getsectionlist(self, key): """Returns a list of sections that start with (str) key + " ". - + That is, if key is "Account", returns all section names that start with "Account ", but strips off the "Account ". - + For instance, for "Account Test", returns "Test".""" key = key + ' ' diff --git a/offlineimap/repository/IMAP.py b/offlineimap/repository/IMAP.py index 4fb2065..7cdc956 100644 --- a/offlineimap/repository/IMAP.py +++ b/offlineimap/repository/IMAP.py @@ -211,7 +211,7 @@ class IMAPRepository(BaseRepository): def getsslcacertfile(self): """Determines CA bundle. - + Returns path to the CA bundle. It is either explicitely specified or requested via "OS-DEFAULT" value (and we will search known locations for the current OS and distribution). @@ -229,6 +229,7 @@ class IMAPRepository(BaseRepository): xforms = [os.path.expanduser, os.path.expandvars, os.path.abspath] cacertfile = self.getconf_xform('sslcacertfile', xforms, None) + # Can't use above cacertfile because of abspath. if self.getconf('sslcacertfile', None) == "OS-DEFAULT": cacertfile = get_os_sslcertfile() if cacertfile == None: