summaryrefslogtreecommitdiffstats
path: root/openstack/common/plugin/callbackplugin.py
diff options
context:
space:
mode:
authorBen Nemec <bnemec@us.ibm.com>2013-07-02 10:59:02 -0500
committerBen Nemec <bnemec@us.ibm.com>2013-07-02 10:59:02 -0500
commit323e465718174299f392e1fb12726593712a2d34 (patch)
tree5a42684642718bee1b78b9cdd5e3da8216f9a483 /openstack/common/plugin/callbackplugin.py
parent78649a52d90a63117f3213107b826cc561cef419 (diff)
downloadoslo-323e465718174299f392e1fb12726593712a2d34.tar.gz
oslo-323e465718174299f392e1fb12726593712a2d34.tar.xz
oslo-323e465718174299f392e1fb12726593712a2d34.zip
Add conditional exception reraise
In some cases we need to save an exception and reraise it only under certain conditions. As written, the save_and_reraise_exception context always reraises, which means it can't always be used. This change adds a flag that allows conditional reraising to address the limitation. Change-Id: Ib5c6406a1b91daff94cc4aa305dcb7d6262aecdc
Diffstat (limited to 'openstack/common/plugin/callbackplugin.py')
0 files changed, 0 insertions, 0 deletions