##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51494:a2f92282 default
parent child Browse files
Show More
@@ -419,7 +419,7 b' def wrapsocket(sock, keyfile, certfile, '
419 419 pass
420 420
421 421 # Try to print more helpful error messages for known failures.
422 if util.safehasattr(e, b'reason'):
422 if util.safehasattr(e, 'reason'):
423 423 # This error occurs when the client and server don't share a
424 424 # common/supported SSL/TLS protocol. We've disabled SSLv2 and SSLv3
425 425 # outright. Hopefully the reason for this error is that we require
General Comments 0
You need to be logged in to leave comments. Login now