diff options
| author | Yun Mao <yunmao@gmail.com> | 2012-05-24 15:37:57 -0400 |
|---|---|---|
| committer | Yun Mao <yunmao@gmail.com> | 2012-05-24 16:26:08 -0400 |
| commit | 5e487678424ce099261ea53d55d3d8976273f01f (patch) | |
| tree | 401cb640dc7472134f9e93600b76762eb18d8b37 /nova/compute | |
| parent | d7eef34fdea8f94068dd2d745cba1ae493af61a9 (diff) | |
fixes bug 1004153
fixes save_and_reraise_exception call to the right module and removes unused import.
Change-Id: I3e6472fe5ade0cc0c155b73b97c8aabbf9b21398
Diffstat (limited to 'nova/compute')
| -rw-r--r-- | nova/compute/manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 6a0251a15..fb6d900e2 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -1378,7 +1378,7 @@ class ComputeManager(manager.SchedulerDependentManager): try: network_info = self._get_instance_nw_info(context, instance_ref) except Exception, error: - with utils.save_and_reraise_exception(): + with excutils.save_and_reraise_exception(): msg = _('%s. Setting instance vm_state to ERROR') LOG.error(msg % error) self._set_instance_error_state(context, instance_uuid) |
