]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Tighten up try/except block around rpc call
authorCarl Baldwin <carl.baldwin@hp.com>
Tue, 21 Oct 2014 19:44:18 +0000 (19:44 +0000)
committerCedric Brandily <zzelle@gmail.com>
Fri, 21 Nov 2014 09:13:56 +0000 (10:13 +0100)
commitd87c3cdba36f4d2fc5e35793b56ab269a9f1bc49
tree32fb54afc96a670fb8a516199255a395e703b76a
parent7fa5a252ce744228969e2af272674348099b6122
Tighten up try/except block around rpc call

The try is too broad.  This commit moves code outside of the try block
where exceptions are not expected to be raised.  This only leaves the
rpc call in the current code.  In legacy code, there used to be more
but now this code merely queues updates for workers to handle
in other threads.

Change-Id: I15407553fc6ad6eeb5b483499fe1a5adffe1edca
neutron/agent/l3_agent.py