changeset dbd986b92c02 in /home/hg/repos/gajim
author: lovetox forenjunkie@chelo.at branches: gajim_0.16 details:http://hg.gajim.org/gajim?cmd=changeset;node=dbd986b92c02 description: Replace NameError SSL with correctly-imported OpenSSL.SSL.
diffstat:
src/common/socks5.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r d90f2bac66bd -r dbd986b92c02 src/common/socks5.py --- a/src/common/socks5.py Sat Nov 05 15:06:08 2016 +0000 +++ b/src/common/socks5.py Sat Nov 05 18:17:55 2016 +0100 @@ -897,8 +897,8 @@ """ try: buff = self._recv() - except (SSL.WantReadError, SSL.WantWriteError, - SSL.WantX509LookupError), e: + except (OpenSSL.SSL.WantReadError, OpenSSL.SSL.WantWriteError, + OpenSSL.SSL.WantX509LookupError) as e: log.info("SSL rehandshake request : " + repr(e)) raise e try: