]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Don't print duplicate messages on SystemExit
authorJoe Gordon <joe.gordon0@gmail.com>
Tue, 29 Apr 2014 22:22:20 +0000 (15:22 -0700)
committerJoe Gordon <joe.gordon0@gmail.com>
Wed, 30 Apr 2014 17:29:01 +0000 (10:29 -0700)
commitcd549d2c07143aa41e67c2fa33017c6e0921d5b6
tree502d6293b45aaaa36e3603cde3f4e861de3cadfb
parentffd0774f5d35e3eefe6534ab74e82ae203a07cf9
Don't print duplicate messages on SystemExit

Don't log the error using LOG.error or LOG.exception and then
passing the same string to SystemExit since this will result in the
error being logged twice. Instead log the error and raise SystemExit(1).

Change-Id: I88b6632e6596a36a7168155dd4219e7d55078621
neutron/agent/l3_agent.py
neutron/agent/linux/dhcp.py
neutron/plugins/ml2/managers.py
neutron/plugins/mlnx/agent/utils.py
neutron/services/loadbalancer/plugin.py
neutron/services/service_base.py