Comment 4 for bug 898510

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/2355
Committed: http://github.com/openstack/horizon/commit/5aed18784beb2001668f724bd3b84fca67400007
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit 5aed18784beb2001668f724bd3b84fca67400007
Author: ZhongYue Luo <email address hidden>
Date: Wed Dec 14 21:08:04 2011 +0900

    Fixes deprecated attribute access.

    Fixes bug 898510

    I did a hasattr check whenever the code tries to access
    the message attribute of a BaseException.

    Since openstackx, glance, and quantum implements their exceptions
    with a message attribute, I thought keeping the message attribute access
    was logical.

    Change-Id: Iabe986359077d11bb4bdae15f9e7d6db2aecdbb0