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:
parent
1eb03f187a
commit
bf5b45ebba
|
@ -516,8 +516,3 @@ def register_engine(engine):
|
||||||
@event.listens_for(engine, "checkin")
|
@event.listens_for(engine, "checkin")
|
||||||
def pop_exc_checkin(dbapi_conn, connection_record):
|
def pop_exc_checkin(dbapi_conn, connection_record):
|
||||||
connection_record.info.pop(ROLLBACK_CAUSE_KEY, None)
|
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…
Reference in New Issue