Remove Deprecated use of Execption.message

Bug #1166221 reported by Robert Myers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Undecided
Robert Myers

Bug Description

When running the tests and in the logs we have this warning:

DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  raise exception.BadRequest(ve.message)
/Users/robe5515/stackforge/reddwarf/reddwarf/extensions/mysql/common.py:35: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  raise exception.BadRequest(ve.message)
/Users/robe5515/stackforge/reddwarf/reddwarf/extensions/mysql/common.py:35: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  raise exception.BadRequest(ve.message)

Changed in reddwarf:
assignee: nobody → Robert Myers (rmyers)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to reddwarf (master)

Reviewed: https://review.openstack.org/26374
Committed: http://github.com/stackforge/reddwarf/commit/439d35dbce60ff4209ba5b34934083ff230602d5
Submitter: Jenkins
Branch: master

commit 439d35dbce60ff4209ba5b34934083ff230602d5
Author: Robert Myers <email address hidden>
Date: Mon Apr 8 08:52:55 2013 -0500

    Stop the deprecated use of Exception.message to please Python

    * This fixes all the warning messages during the test which
      are annoying and verbose

    Fixes: bug 1166221
    Change-Id: I4b0276f4c29c91a46d8d4913b40e9767bb75a7f1

Changed in reddwarf:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in trove:
milestone: none → havana-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: havana-2 → 2013.2
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.