diff options
author | Stephen Finucane <stephenfin@redhat.com> | 2020-02-25 17:34:59 +0000 |
---|---|---|
committer | Stephen Finucane <stephenfin@redhat.com> | 2020-02-25 17:35:34 +0000 |
commit | bf5b45ebba24b4c8737c3197f2cd65f84fd2448c (patch) | |
tree | 9a71042f4cb3cfff109643e24fab2bf25a033545 | |
parent | 1eb03f187ab101668c26a4ef800e96bd66992140 (diff) | |
download | oslo-db-bf5b45ebba24b4c8737c3197f2cd65f84fd2448c.tar.gz |
Remove 'handle_connect_error'8.0.0
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
-rw-r--r-- | oslo_db/sqlalchemy/exc_filters.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/oslo_db/sqlalchemy/exc_filters.py b/oslo_db/sqlalchemy/exc_filters.py index bb9ba06..2d9b162 100644 --- a/oslo_db/sqlalchemy/exc_filters.py +++ b/oslo_db/sqlalchemy/exc_filters.py @@ -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() |