diff options
| author | Jenkins <jenkins@review.openstack.org> | 2011-10-24 16:24:05 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2011-10-24 16:24:05 +0000 |
| commit | 230b3af8486a877bb33845423775522ff47f07ea (patch) | |
| tree | d58babb085b40431001fccdf8e7850ea220d9dad /nova/api | |
| parent | 1dde1d10f9e25d8e29619376a936f4973f8363ab (diff) | |
| parent | d04007efd236f9cacf381b622b19cdad7e4529e8 (diff) | |
Merge "Refactoring nova.tests.api.openstack.test_flavors"
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/flavors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/flavors.py b/nova/api/openstack/flavors.py index 4c3e860d6..afc900cce 100644 --- a/nova/api/openstack/flavors.py +++ b/nova/api/openstack/flavors.py @@ -70,7 +70,7 @@ class Controller(object): ctxt = req.environ['nova.context'] flavor = instance_types.get_instance_type_by_flavor_id(id) except exception.NotFound: - return webob.exc.HTTPNotFound() + raise webob.exc.HTTPNotFound() builder = self._get_view_builder(req) values = builder.build(flavor, is_detail=True) |
