Browse Source

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
tags/8.0.0^0
Stephen Finucane 4 months ago
parent
commit
bf5b45ebba
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      oslo_db/sqlalchemy/exc_filters.py

+ 0
- 5
oslo_db/sqlalchemy/exc_filters.py 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()

Loading…
Cancel
Save