diff options
| author | Brian Lamar <brian.lamar@rackspace.com> | 2011-08-24 10:59:12 -0400 |
|---|---|---|
| committer | Brian Lamar <brian.lamar@rackspace.com> | 2011-08-24 10:59:12 -0400 |
| commit | 8b3ac90bd53ec81e6669c6169969e1e8da3e2d4f (patch) | |
| tree | 6c9873ab7c8fd8aa7c256e668f860e8090db4912 /nova/exception.py | |
| parent | 657e58113d481d5c03cb3395cd714846434675f0 (diff) | |
| download | nova-8b3ac90bd53ec81e6669c6169969e1e8da3e2d4f.tar.gz nova-8b3ac90bd53ec81e6669c6169969e1e8da3e2d4f.tar.xz nova-8b3ac90bd53ec81e6669c6169969e1e8da3e2d4f.zip | |
Commit with test data in migration.
Diffstat (limited to 'nova/exception.py')
| -rw-r--r-- | nova/exception.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index 44af8177e..66740019b 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -318,6 +318,9 @@ class InvalidEc2Id(Invalid): class NotFound(NovaException): message = _("Resource could not be found.") + def __init__(self, *args, **kwargs): + super(NotFound, self).__init__(**kwargs) + class FlagNotSet(NotFound): message = _("Required flag %(flag)s not set.") |
