tags 546659 patch thanks Nicolas's patch assumes python 2.6. That's fine for Debian, but maybe not for upstream. This one seems to work.
Peter --- imaplibutil.py +++ imaplibutil.py @@ -169,7 +169,10 @@ if last_error != 0: # FIXME raise socket.error(last_error) - self.sslobj = socket.ssl(self.sock, self.keyfile, self.certfile) + if (sys.version_info[0] == 2 and sys.version_info[1] >= 6) or sys.version_info[0] >= 3: + self.sslobj = ssl.wrap_socket(self.sock, self.keyfile, self.certfile) + else: + self.sslobj = socket.ssl(self.sock, self.keyfile, self.certfile) self.sslobj = sslwrapper(self.sslobj) mustquote = re.compile(r"[^\w!#$%&'+,.:;<=>?^`|~-]") -- To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100805192429.ge2...@p12n.org