[Sandro Tosi]
> A nicer way to do that is via tuple comparison (not correctly indented
> only mocking):
>
> if sys.version_info[0:2] < (2,6)
> self.sslobj = socket.ssl(self.sock, self.keyfile, self.certfile)
> else:
> self.sslobj = ssl.wrap_socket(self.sock, self.keyfile, self.certfile)
Hi all,
On Thu, Aug 5, 2010 at 21:24, Peter Samuelson wrote:
>
> 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 @@
>
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_err
Package: offlineimap
Version: 6.2.0
socket.ssl is deprecated, more info here:
http://software.complete.org/software/issues/show/110
Patch:
@@ -16,7 +16,7 @@
#along with this program; if not, write to the Free Software
#Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
#0211
4 matches
Mail list logo