]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix bad except clauses order
authormasahiro ikeda <ikedamsh@nttdata.co.jp>
Fri, 21 Aug 2015 05:31:24 +0000 (14:31 +0900)
committermasahiro ikeda <ikedamsh@nttdata.co.jp>
Mon, 24 Aug 2015 07:05:01 +0000 (16:05 +0900)
commit7a6c63a51770f915d76fe77cb3419555197e94ca
treec94de77a403c5ce7e1e78d8ef4f5cd2194e37218
parent45fb47c724724943b60e4e5c09c50b151f2f5350
Fix bad except clauses order

In wbem_request() method, 'socket.error' superclass of exception
class ' socket.sslerror' has already been caught.

Moved the except 'socket.sslerror' block up above 'socket.error'
so that if there is any error due to ssl it is caught correctly.

Closes-Bug: #1487320

Change-Id: I1de1642e47fc7ba39e6666fca1aa6e8d0dde57d7
cinder/volume/drivers/emc/emc_vmax_https.py