]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Improve error handling in refactored Tgt driver
authorAnish Bhatt <anish@chelsio.com>
Tue, 10 Feb 2015 23:59:04 +0000 (15:59 -0800)
committerAnish Bhatt <anish@chelsio.com>
Tue, 10 Mar 2015 00:28:47 +0000 (17:28 -0700)
commitad08c7a1f0c4e6a1e44b5ad02f9efbf86a2a878e
treed48a982d965d98552701249691e73cb22c96707d
parentd911a317e0e4e371362d19af2b1d45f59eb572fe
Improve error handling in refactored Tgt driver

Only allow IOError to fall through when file not found is
acceptable. Cleanup a few error messages, remove uses of six as
this is not required

Closes-Bug: 1422095
Change-Id: I8a8f1ee561b15b38860b31cae1b444527e998869
cinder/tests/targets/test_cxt_driver.py
cinder/tests/targets/test_tgt_driver.py
cinder/volume/targets/cxt.py
cinder/volume/targets/tgt.py