DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
Bug #1479066 reported by
Matt Riedemann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Chuck Carmack | ||
oslo.vmware |
Fix Released
|
Undecided
|
ChangBo Guo(gcb) |
Bug Description
I see these when running tests:
Captured stderr:
~~~~~~~~~~~~~~~~
nova/
if ('device is busy' in exc.message or
Seems that bug 1447946 was meant to fix some of this but it only handles NovaException, not other usage.
We should be able to use six.text_type(e) for 'if str in e' type checks.
Changed in nova: | |
assignee: | nobody → Chuck Carmack (chuckcarmack75) |
Changed in nova: | |
milestone: | none → liberty-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | liberty-rc1 → 12.0.0 |
Changed in oslo.vmware: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Using this as a test:
http:// logs.openstack. org/91/ 202391/ 13/check/ gate-nova- python27/ 5cf9c7c/ console. html
There are 15 hits of that deprecation warning in a normal unit test run.