repository/IMAP: add minor comment
Some minor cleanups on whitespaces. Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
		| @@ -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 + ' ' | ||||
|   | ||||
| @@ -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: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Nicolas Sebrecht
					Nicolas Sebrecht