]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Use save_and_reraise_exception() from common.
authorRussell Bryant <rbryant@redhat.com>
Tue, 1 May 2012 21:31:26 +0000 (17:31 -0400)
committerMark McLoughlin <markmc@redhat.com>
Thu, 19 Jul 2012 16:20:18 +0000 (17:20 +0100)
commit1b3cbc537ee1b69940cfb3a5d5b408db13df266d
treeb613e354433832a907418aef8f6d4858475c71e2
parent0f362edeb03177c12a65b9587d13df7aac76a2f7
Use save_and_reraise_exception() from common.

This patch common.excutils from openstack-common, which includes
save_and_reraise_exception().  The patch also converts the code
base to use it from there instead of cinder.utils and then removes
it from cinder.utils.

The initial motivation for this was removing another cinder dependency
from cinder.rpc so that it can eventually be moved to openstack-common.

Change-Id: I7354ca51a02aec9c709cf33f77d4abc46acc2742
cinder/openstack/common/excutils.py [new file with mode: 0644]
cinder/rpc/amqp.py
cinder/scheduler/manager.py
cinder/utils.py
cinder/volume/manager.py
openstack-common.conf