[openstack-dev] [oslo] Logging exceptions and Python 3

Christian Berendt berendt at b1-systems.de
Thu May 15 21:45:30 UTC 2014


On 05/15/2014 11:20 PM, Igor Kalnitsky wrote:
> Example:
> 
>     LOG.error(e.message)

According to http://legacy.python.org/dev/peps/pep-0352/ the message
attribute of BaseException is deprecated since Python 2.6 and was
dropped in Python 3.0.

Christian.

-- 
Christian Berendt
Cloud Computing Solution Architect
Mail: berendt at b1-systems.de

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537



More information about the OpenStack-dev mailing list