]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Implementing string representation for model classes
authorAvishay Balderman <avishayb@radware.com>
Tue, 25 Dec 2012 09:18:21 +0000 (11:18 +0200)
committerAvishay Balderman <avishayb@radware.com>
Wed, 26 Dec 2012 12:14:33 +0000 (14:14 +0200)
commit5d41c5c817765bdea83eeff6656572504c7c1e84
treef1cade1a251a2272e84044e0e9dd8710554b8511
parent461417b6400bf6bfd0f5e96783ecf4c4c7ae3add
Implementing string representation for model classes

We want to have meaningfull representation. This is
useful when we debug and want to see the actual
attributes of the object. The current __repr__
of those classes is the default python implementation
 and does not provide
information about the object attributes.
Solve Bug #1084231

Change-Id: I1ea5d741d2fd2da13712e0d51d2c73dfba4991cf
Solve the conflict below:
Conflicts:
quantum/tests/unit/test_db_plugin.py
quantum/db/model_base.py
quantum/tests/unit/test_db_plugin.py