diff options
Diffstat (limited to 'oslo_db')
-rw-r--r-- | oslo_db/exception.py | 13 |
1 files changed, 1 insertions, 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. |