Go to file
Julien Danjou 363e710295 Fix DBReferenceError and DBNonExistentTable with new PyMySQL version
PyMySQL 0.7.7 changed the string format of the error raised, making
oslo.db unable to catch the error:

(pymysql.err.IntegrityError) (1452, u'23000Cannot add or update a child row: a foreign key constraint fails (`vaceciqnzs`.`resource_entity`, CONSTRAINT `foo_fkey` FOREIGN KEY (`foo_id`) REFERENCES `resource_foo` (`id`))') [SQL: u'INSERT INTO resource_entity (id, foo_id) VALUES (%(id)s, %(foo_id)s)'] [parameters: {'foo_id': 2, 'id': 1}]

Change-Id: Ice7d7767842225951eaf48b71cedb2aabe5a84e4
(cherry picked from commit 1f3d509cab)
2016-08-31 17:24:00 +00:00
2015-09-24 10:56:06 -05:00
2014-04-30 16:55:51 +02:00
2014-04-18 11:33:16 +03:00
2014-04-18 11:33:16 +03:00
2014-09-01 11:40:08 +02:00
2014-04-18 11:33:16 +03:00
2016-07-25 13:04:48 +00:00
2015-09-18 16:41:34 +00:00

oslo.db -- OpenStack Database Pattern Library

Latest Version

Downloads

The oslo db (database) handling library, provides database connectivity to different database backends and various other helper utils.

Description
RETIRED, further work has moved to Debian project infrastructure
Readme 1.5 MiB