]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix minor nits in _notify_l3_agent_new_port()
authorSaggi Mizrahi <saggi.mizrahi@huawei.com>
Wed, 18 Mar 2015 13:57:41 +0000 (15:57 +0200)
committerSaggi Mizrahi <saggi.mizrahi@huawei.com>
Mon, 23 Mar 2015 13:42:46 +0000 (15:42 +0200)
commit0a12058aab0b176eb33ebdc550df7050552b1e12
tree95b2ff54f3714553512e3f0134d88d16de0024bc
parent8cfd51e412e6387985f66ef738f99afa8b70830a
Fix minor nits in _notify_l3_agent_new_port()

- Moved string formatting to the log instead of call
- Used dict.get() instead of __getitem__(). I assume that was the
  author's intent or the subsequent condition in redundant.

Change-Id: If2fa3654591607c01effc12cc1bafea38ac4945d
Signed-off-by: Saggi Mizrahi <saggi.mizrahi@huawei.com>
neutron/db/l3_dvrscheduler_db.py