]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Make string representation of DictModel generic
authorKevin Benton <blak111@gmail.com>
Tue, 3 Nov 2015 15:31:54 +0000 (07:31 -0800)
committerKevin Benton <blak111@gmail.com>
Tue, 3 Nov 2015 15:31:54 +0000 (07:31 -0800)
commitc6476838cc7d94982f3d6aea88926679cf40d839
tree33f25efcab4435f009440d484a83eef4d1924436
parent8ab5be120e3a28c66e237c5c552b963936588239
Make string representation of DictModel generic

The previous version was specific to a port dict and would
fail if str() was called on other models. This iterates over
and logs all values of the dict instead so it works under any
dictionary.

Change-Id: I630b39338e4e67080e100a9f32c9b6e341a93472
Closes-Bug: #1512753
neutron/agent/linux/dhcp.py
neutron/tests/unit/agent/linux/test_dhcp.py