Remove 'handle_connect_error'

Nothing appears to be using this, based on codesearch.o.o, and it's
useless. Drop it.

Change-Id: I9ce39e69a6fdb2e216da9fd903b5dc8aa7eaab80
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Sem-Ver: api-break
This commit is contained in:
Stephen Finucane 2020-02-25 17:34:59 +00:00
parent 1eb03f187a
commit bf5b45ebba
1 changed files with 0 additions and 5 deletions

View File

@ -516,8 +516,3 @@ def register_engine(engine):
@event.listens_for(engine, "checkin")
def pop_exc_checkin(dbapi_conn, connection_record):
connection_record.info.pop(ROLLBACK_CAUSE_KEY, None)
def handle_connect_error(engine):
"""Connect to the engine, including handle_error handlers."""
return engine.connect()