diff options
| author | Stanislaw Pitucha <stanislaw.pitucha@hp.com> | 2012-09-20 10:23:45 +0100 |
|---|---|---|
| committer | Stanislaw Pitucha <stanislaw.pitucha@hp.com> | 2012-09-21 10:58:20 +0100 |
| commit | 4c09d809c9bd37eeb55f64ec01f8a0b900f9a3bf (patch) | |
| tree | 8458db3c935638b5d8b6664a6ea39b010990d2b4 /nova/api | |
| parent | 075e7888f00c9e614364674534a168c6635e162a (diff) | |
| download | nova-4c09d809c9bd37eeb55f64ec01f8a0b900f9a3bf.tar.gz nova-4c09d809c9bd37eeb55f64ec01f8a0b900f9a3bf.tar.xz nova-4c09d809c9bd37eeb55f64ec01f8a0b900f9a3bf.zip | |
Cleanup exception handling
Make sure stack traces are not cut short. Make sure there's only one
exception handler per function (otherwise new exception covers the old one).
Fixes bug 1053421
Change-Id: Id1ff84a5ba3eaeef6385b311773bde784672e1f9
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/compute/contrib/floating_ips.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/compute/contrib/floating_ips.py b/nova/api/openstack/compute/contrib/floating_ips.py index f3692e02e..be952eb8a 100644 --- a/nova/api/openstack/compute/contrib/floating_ips.py +++ b/nova/api/openstack/compute/contrib/floating_ips.py @@ -175,7 +175,7 @@ class FloatingIPController(object): nmfi.message = _("No more floating ips in pool %s.") % pool else: nmfi.message = _("No more floating ips available.") - raise nmfi + raise return _translate_floating_ip_view(ip) |
