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
Reviewed: https:/ /review. openstack. org/2355 github. com/openstack/ horizon/ commit/ 5aed18784beb200 1668f724bd3b84f ca67400007
Committed: http://
Submitter: Jenkins
Branch: master
status fixcommitted
done
commit 5aed18784beb200 1668f724bd3b84f ca67400007
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: Iabe986359077d1 1bb4bdae15f9e7d 6db2aecdbb0