diff options
-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() |