From 620aaa910813536ada0ff71462a7b2351b9fe8e1 Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Sun, 23 Aug 2009 17:54:50 -0700 Subject: [PATCH] Brought api_test up to date with code changes, the daggy fix approach appears to have not worked so well just now. I've finally decided that masking the ZeroReturnError is not correct (naked SSLConnection objects raise it), and therefore expect it in the ssl test. --- eventlet/greenio.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/eventlet/greenio.py b/eventlet/greenio.py index 4ca1b06..e15c6ef 100644 --- a/eventlet/greenio.py +++ b/eventlet/greenio.py @@ -613,8 +613,6 @@ class GreenSSL(GreenSocket): write=True, timeout=self.timeout, timeout_exc=socket.timeout) - except SSL.ZeroReturnError: - return '' except SSL.SysCallError, e: if e[0] == -1 or e[0] > 0: return ''