]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Remove unused variables from get_devices_details_list
authorElena Ezhova <eezhova@mirantis.com>
Thu, 27 Nov 2014 07:33:04 +0000 (10:33 +0300)
committerElena Ezhova <eezhova@mirantis.com>
Thu, 27 Nov 2014 07:33:04 +0000 (10:33 +0300)
commitf25c623fcfe310200abee119fcec68c1e85de7ed
tree496b244bc236ea2ffa1caa118283c1f19ed8f1f8
parentef86198181649f13da9692b6a2b339e36901aa27
Remove unused variables from get_devices_details_list

Initialization of res with empty list is not needed because
res is always assigned with a new value in try/except block.

A method invocation context is created in get_device_details
and need not be initialized in get_devices_details_list because
it is never used there.

Change-Id: I2ff73390ca173cee6d73aaafdcc0c525670e358b
neutron/agent/rpc.py