]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Handle bool correctly during _extend_extra_router_dict
authorarmando-migliaccio <armamig@gmail.com>
Fri, 25 Jul 2014 04:44:47 +0000 (21:44 -0700)
committerarmando-migliaccio <armamig@gmail.com>
Fri, 25 Jul 2014 06:26:41 +0000 (23:26 -0700)
commit6bd147df43b1d352230d94f52e0fb4c56e7885d6
treee67d2762d4334f513acbc9c724f15cafd2b36d1d
parenta2fff6ee728db57f0e862548aac9296899ef0fc7
Handle bool correctly during _extend_extra_router_dict

Ensure that extension attributes are always used to
override the chosen defaults. This was not working
in the case of default boolean True, as the testing
condition was wrong.

Closes-bug: #1348479

Change-Id: I22bce82c6078a96c0eb4a67e6decb6e9205721a8
neutron/db/l3_attrs_db.py
neutron/tests/unit/test_l3_plugin.py