Comment 4 for bug 1202415

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/38628
Committed: http://github.com/openstack/horizon/commit/a06e263b60779739654ebf1020da59f231ca5da2
Submitter: Jenkins
Branch: master

commit a06e263b60779739654ebf1020da59f231ca5da2
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: Iebaeae78f3763d87f3993ba5c4bbed4c23e84c45