From: Georg Brandl Date: Sun, 24 Oct 2010 14:20:22 +0000 (+0000) Subject: Remove usage of exception indexing. X-Git-Tag: v3.2a4~365 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b75b639a8bb96b64d7966457ab6480a911ac6819;p=thirdparty%2FPython%2Fcpython.git Remove usage of exception indexing. --- diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index b11723c5381d..f740f2d5dd9e 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -912,7 +912,7 @@ else: sys.stdout.write("\nSSLError is %s\n" % x.args[1]) except socket.error as x: if support.verbose: - sys.stdout.write("\nsocket.error is %s\n" % x[1]) + sys.stdout.write("\nsocket.error is %s\n" % x.args[1]) except IOError as x: if x.errno != errno.ENOENT: raise