[Imaplib2-devel] Re: STARTTLS and certificates Re:[ANNOUNCE] OfflineIMAP v6.3.4-rc3 released

Piers Lauder piers at janeelix.com
Wed Jul 13 01:10:19 BST 2011


On Tue, 12 Jul 2011 09:39:28 +0200, Johannes Stezenbach wrote:
  > 
  > On Tue, Jul 12, 2011 at 07:40:55AM +1000, Piers Lauder wrote:
  > > 
  > > What does "WrappedIMAP4_SSL._verifycert()" actually do with its two
  > > arguments? I guess also that it returns an error string, or None? (Just
  > > so I can document the usage of the new arguments to starttls().)
  > 
  > So it is, but it could be changed to through an exception
  > if you prefer that.

An error string is fine, and i would prefer it to be the entire error
message so i can simply do:
  raise ssl.SSLError(error_string)






More information about the OfflineIMAP-project mailing list