]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Remove superfluous except/re-raise
authorAngus Lees <gus@inodes.org>
Mon, 20 Oct 2014 00:19:02 +0000 (11:19 +1100)
committerAngus Lees <gus@inodes.org>
Mon, 20 Oct 2014 00:23:20 +0000 (11:23 +1100)
commitfd11b4264da0cef395788b0e0ee12c86cb65ec41
treee4897394cfa84f84943590ea6aeca68244d6b0c8
parent1aaa8b34466b0567c6a5ea0b607f1ac324ee5dfa
Remove superfluous except/re-raise

This exception code catches all exceptions, and then always raises them
again.

More interestingly, it uses excutils.save_and_reraise_exception
incorrectly (outside a `with` statement), which triggers the pylint test
designed to catch exactly this.

Change-Id: Iab9d69944cbae5257682ac65ff2b8fba3ef7017e
neutron/services/l3_router/brocade/l3_router_plugin.py