diff options
| author | Stanislaw Pitucha <stanislaw.pitucha@hp.com> | 2012-08-04 18:52:08 +0100 |
|---|---|---|
| committer | Stanislaw Pitucha <stanislaw.pitucha@hp.com> | 2012-08-04 19:11:59 +0100 |
| commit | 65d70b2e160ce340861351e4284722d6d566bd1e (patch) | |
| tree | ff642b8835250bedda3395860728eea793b65405 | |
| parent | ef306fe4c342cf5e54b4512e46b67c80fbb414ab (diff) | |
Remove old exception type
Error doesn't exist anymore. Use a generic NovaException instead.
Change-Id: I3b36fdf999f5e62a7b4137dfa874173de5fed9b8
| -rw-r--r-- | nova/db/sqlalchemy/migration.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/db/sqlalchemy/migration.py b/nova/db/sqlalchemy/migration.py index 69375d05c..c6c9e9b5f 100644 --- a/nova/db/sqlalchemy/migration.py +++ b/nova/db/sqlalchemy/migration.py @@ -97,7 +97,8 @@ def db_version(): else: # Some pre-Essex DB's may not be version controlled. # Require them to upgrade using Essex first. - raise exception.Error(_("Upgrade DB using Essex release first.")) + raise exception.NovaException( + _("Upgrade DB using Essex release first.")) def db_version_control(version=None): |
