From b4b377b713faf6109605987b80a17a327bd8de0c Mon Sep 17 00:00:00 2001 From: Yaguo Zhou Date: Mon, 4 Sep 2017 16:01:07 +0800 Subject: Remove deprecated class DbMigrationError since we already have DBMigrationError Change-Id: Icb2c88dc18843cbf2f5be08d635d5ba10f36f360 --- oslo_db/exception.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/oslo_db/exception.py b/oslo_db/exception.py index ee79f3e..ee6bbb2 100644 --- a/oslo_db/exception.py +++ b/oslo_db/exception.py @@ -194,18 +194,7 @@ class DBInvalidUnicodeParameter(Exception): _("Invalid Parameter: Encoding directive wasn't provided.")) -class DbMigrationError(DBError): - - """Wrapped migration specific exception. - - Raised when migrations couldn't be completed successfully. - """ - - def __init__(self, message=None): - super(DbMigrationError, self).__init__(message) - - -class DBMigrationError(DbMigrationError): +class DBMigrationError(DBError): """Wrapped migration specific exception. -- cgit v1.2.1