dc7c101480
The 'driver_initiator_data_insert_by_key' DB API is exceptional in that it attempts to create a DB entry and returns a boolean value if there's a duplicate error rather than raise an exception. This means we need to do some special handling. Avoid the need for this special handling by raising an exception like everyone else and do the mapping to boolean values in the sole caller. Change-Id: I25472f592dbdb487fbbb376cb92ee0dda76b677a Signed-off-by: Stephen Finucane <stephenfin@redhat.com> |
||
---|---|---|
.. | ||
legacy_migrations | ||
migrations | ||
sqlalchemy | ||
__init__.py | ||
alembic.ini | ||
api.py | ||
base.py | ||
migration.py |