Remove deprecated class DbMigrationError since we already have DBMigrationError

Change-Id: Icb2c88dc18843cbf2f5be08d635d5ba10f36f360
This commit is contained in:
Yaguo Zhou 2017-09-04 16:01:07 +08:00 committed by Stephen Finucane
parent fce052b2af
commit b4b377b713

View File

@ -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.