diff options
| author | Trey Morris <trey.morris@rackspace.com> | 2011-05-24 16:21:47 -0500 |
|---|---|---|
| committer | Trey Morris <trey.morris@rackspace.com> | 2011-05-24 16:21:47 -0500 |
| commit | 2b0af0ccf792dd2f0420fd8eaa6bc8be8a8671bf (patch) | |
| tree | 56d5d0933b98ee61f9b7efad15f91975910bdca7 /nova/exception.py | |
| parent | d3c6f77f287f8078606ca7fc99a8121cadb76fd4 (diff) | |
| parent | 781ed70a4035fe507e2e1e83dcd5262c81792b5a (diff) | |
| download | nova-2b0af0ccf792dd2f0420fd8eaa6bc8be8a8671bf.tar.gz nova-2b0af0ccf792dd2f0420fd8eaa6bc8be8a8671bf.tar.xz nova-2b0af0ccf792dd2f0420fd8eaa6bc8be8a8671bf.zip | |
merge trunk
Diffstat (limited to 'nova/exception.py')
| -rw-r--r-- | nova/exception.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index 020243220..010ec8166 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -259,6 +259,10 @@ class NotFound(NovaException): super(NotFound, self).__init__(**kwargs) +class FlagNotSet(NotFound): + message = _("Required flag %(flag)s not set.") + + class InstanceNotFound(NotFound): message = _("Instance %(instance_id)s could not be found.") |
