__repr__ was added to APIResourceWrapper in the recent commit,
but it searches all attributes in _attrs list. When an attribute
defined in _attrs actually does not exist, __repr__() fails.
This commit changes __repr__ to ignore non-existing attributes.
Reviewed: https:/ /review. openstack. org/38628 github. com/openstack/ horizon/ commit/ a06e263b6077973 9654ebf1020da59 f231ca5da2
Committed: http://
Submitter: Jenkins
Branch: master
commit a06e263b6077973 9654ebf1020da59 f231ca5da2
Author: Akihiro MOTOKI <email address hidden>
Date: Thu Jul 25 21:38:31 2013 +0900
Ignore non-existing attr in APIResourceWrapper __repr__
Fixes bug 1202415
__repr__ was added to APIResourceWrapper in the recent commit,
but it searches all attributes in _attrs list. When an attribute
defined in _attrs actually does not exist, __repr__() fails.
This commit changes __repr__ to ignore non-existing attributes.
Change-Id: Iebaeae78f3763d 87f3993ba5c4bbe d4c23e84c45