]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix incorrect reraising of exceptions
authorSean McGinnis <sean_mcginnis@dell.com>
Sat, 25 Apr 2015 00:15:37 +0000 (19:15 -0500)
committerSean McGinnis <sean_mcginnis@dell.com>
Wed, 13 May 2015 15:51:05 +0000 (10:51 -0500)
commitfea27a526ca7d18a7981141dd19bc9cad647a622
tree552020aea1e949a0591050a53d7f728737ed1157
parent7a9afae72ddd377d3a224076d69bcbed7f88c6e4
Fix incorrect reraising of exceptions

There are several places in the code where exception handling raises
the exception variable rather than just calling raise. This results
in the traceback being incorrect.

Had considered adding a hacking check for this, but that becomes a
little tricky. There are valid places where "raise ex" is used that
would prevent a simple check.

Change-Id: Ib2bd745c7ef600c514a94c3fd638d15d17a623a2
cinder/volume/drivers/emc/emc_vnx_cli.py
cinder/volume/drivers/netapp/dataontap/client/client_7mode.py
cinder/volume/drivers/netapp/dataontap/nfs_base.py
cinder/volume/drivers/nfs.py
cinder/volume/drivers/quobyte.py
cinder/volume/drivers/rbd.py
cinder/volume/drivers/remotefs.py
cinder/volume/drivers/zfssa/restclient.py
cinder/volume/drivers/zfssa/zfssanfs.py