]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fixes port update failure when device ID is not updated
authorMithil Arun <arun.mithil@gmail.com>
Tue, 8 Jul 2014 13:08:04 +0000 (18:38 +0530)
committerMithil Arun <arun.mithil@gmail.com>
Wed, 16 Jul 2014 08:34:50 +0000 (14:04 +0530)
commitee86bf175e7ee79720462338a0d0988e6e8342c1
tree7a000274771dad96cfcb79d906954f09431b4b2a
parent4ce655ae22c671553726fda6a0828248359c69f2
Fixes port update failure when device ID is not updated

The updation was failing because the changed_device_id variable
was undeclared.This fix declares the variable with a default value
at the beginning of the method.

Change-Id: I06dfea1170a6b2a649f4e1efe4bf70b7cee0eacb
Closes-Bug: 1337787
neutron/db/db_base_plugin_v2.py
neutron/tests/unit/test_db_plugin.py