← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1208577] Re: BaseException.message throws DeprecationWarning

 

** Changed in: glance
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1208577

Title:
  BaseException.message throws DeprecationWarning

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released

Bug description:
  Noticed the following deprecation warnings at console output:

  /openstack/glance/glance/openstack/common/timeutils.py:51: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
    raise ValueError(e.message)

  /openstack/glance/glance/store/filesystem.py:179: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
    % (CONF.filesystem_store_metadata_file, ioe.message)))

  Fix: change e.message to str(e).

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1208577/+subscriptions