Many DeprecationWarning messages are printed while running tests

Bug #1243883 reported by Clint Byrum
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Angus Salkeld

Bug Description

/home/clint/src/heat/heat/api/middleware/fault.py:98: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6

There are many more, these should all be addressed.

Angus Salkeld (asalkeld)
Changed in heat:
assignee: nobody → Angus Salkeld (asalkeld)
milestone: none → icehouse-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/53561

Changed in heat:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/53562

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

Reviewed: https://review.openstack.org/53561
Committed: http://github.com/openstack/heat/commit/c5e93e6c6b4ede23d4ed73accad262949fe8073d
Submitter: Jenkins
Branch: master

commit c5e93e6c6b4ede23d4ed73accad262949fe8073d
Author: Angus Salkeld <email address hidden>
Date: Wed Oct 23 23:47:59 2013 -1000

    use msg_fmt not message in Exceptions

    This doesn't solve the problem yet, but clarifies
    the format string from the final string.

    Partial-bug: #1243883
    Change-Id: Ia0f19423248304984cc53926dfb87c6a49c90e11

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/53562
Committed: http://github.com/openstack/heat/commit/a7ac74bb0d2cdd7e99e2f3f2fcd14f1ea71d12e2
Submitter: Jenkins
Branch: master

commit a7ac74bb0d2cdd7e99e2f3f2fcd14f1ea71d12e2
Author: Angus Salkeld <email address hidden>
Date: Thu Oct 24 18:08:37 2013 -1000

    use exception str() not .message

    This mostly fixes the accesses to .message, there is still the
    translation that is using the .message.

    Partial-bug: #1243883
    Change-Id: I709f65e39c017d70eaca5d8f6d06e0227b67e816

Changed in heat:
milestone: icehouse-1 → icehouse-2
Revision history for this message
Steve Baker (steve-stevebaker) wrote :

Marking as fixed, I'm not seeing any Deprecated messages

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: icehouse-2 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.