@@ -489,7 +489,7 @@ class Connection(ConnectionInterface):
489489 check its status, call procedures and evaluate Lua code on server,
490490 make simple data manipulations and execute SQL queries.
491491 """
492- # pylint: disable=too-many-instance-attributes,too-many-public-methods,no-self-use
492+ # pylint: disable=too-many-instance-attributes,too-many-public-methods,bad-option-value, no-self-use
493493
494494 # DBAPI Extension: supply exceptions as attributes on the connection
495495 Error = Error
@@ -1003,7 +1003,7 @@ def _ssl_load_cert_chain(self, context):
10031003 keyfile = self .ssl_key_file ,
10041004 password = self .ssl_password )
10051005 return
1006- except Exception as exc : # pylint: disable=broad-exception-caught
1006+ except Exception as exc : # pylint: disable=broad-exception-caught,broad-except
10071007 exc_list .append (exc )
10081008
10091009
@@ -1015,7 +1015,7 @@ def _ssl_load_cert_chain(self, context):
10151015 keyfile = self .ssl_key_file ,
10161016 password = line .rstrip ())
10171017 return
1018- except Exception as exc : # pylint: disable=broad-exception-caught
1018+ except Exception as exc : # pylint: disable=broad-exception-caught,broad-except
10191019 exc_list .append (exc )
10201020
10211021
@@ -1029,7 +1029,7 @@ def password_raise_error():
10291029 password = password_raise_error )
10301030
10311031 return
1032- except Exception as exc : # pylint: disable=broad-exception-caught
1032+ except Exception as exc : # pylint: disable=broad-exception-caught,broad-except
10331033 exc_list .append (exc )
10341034
10351035 raise SslError (exc_list )
0 commit comments